commit | ee1cffc07a42441924c5353af7fd7ab6e97e5aae | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Feb 21 19:14:41 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Feb 21 19:14:41 2016 +0100 |
tree | f3d7bf205c1d93a2844352237ced27046d468a60 | |
parent | b7522a2f0ca6c970df37241c9e70024465d8596b [diff] [blame] |
patch 7.4.1380 Problem: The job exit callback is not implemented. Solution: Add the "exit-cb" option.
diff --git a/src/channel.c b/src/channel.c index d02f019..aa97088 100644 --- a/src/channel.c +++ b/src/channel.c
@@ -833,6 +833,8 @@ 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();