Mercurial > vim
diff src/channel.c @ 8174:f2286ff0c102 v7.4.1380
commit https://github.com/vim/vim/commit/ee1cffc07a42441924c5353af7fd7ab6e97e5aae
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 21 19:14:41 2016 +0100
patch 7.4.1380
Problem: The job exit callback is not implemented.
Solution: Add the "exit-cb" option.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 21 Feb 2016 19:15:04 +0100 |
parents | db5c79d93eee |
children | ee84450e604e |
line wrap: on
line diff
--- a/src/channel.c +++ b/src/channel.c @@ -833,6 +833,8 @@ invoke_callback(channel_T *channel, char call_func(callback, (int)STRLEN(callback), &rettv, 2, argv, 0L, 0L, &dummy, TRUE, NULL); + clear_tv(&rettv); + /* If an echo command was used the cursor needs to be put back where * it belongs. */ setcursor();