commit | d85f271bf8516dbd90be4d18f905f0abbfcd6db6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jul 28 21:51:57 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jul 28 21:51:57 2017 +0200 |
tree | 733fbe602d4995c5d4757c8a6a93d2a3ddb4911c | |
parent | d973bcb483088b69eb1aed3788476662fe6b77ef [diff] [blame] |
patch 8.0.0797: finished job in terminal window is not handled Problem: Finished job in terminal window is not handled. Solution: Add the scrollback buffer. Use it to fill the buffer when the job has ended.
diff --git a/src/buffer.c b/src/buffer.c index 4510078..e4b3b04 100644 --- a/src/buffer.c +++ b/src/buffer.c
@@ -858,7 +858,7 @@ channel_buffer_free(buf); #endif #ifdef FEAT_TERMINAL - free_terminal(buf->b_term); + free_terminal(buf); #endif buf_hashtab_remove(buf);