diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-07-28 21:51:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-07-28 21:51:57 +0200 |
commit | d85f271bf8516dbd90be4d18f905f0abbfcd6db6 (patch) | |
tree | 733fbe602d4995c5d4757c8a6a93d2a3ddb4911c /src/buffer.c | |
parent | d973bcb483088b69eb1aed3788476662fe6b77ef (diff) | |
download | vim-git-d85f271bf8516dbd90be4d18f905f0abbfcd6db6.tar.gz |
patch 8.0.0797: finished job in terminal window is not handledv8.0.0797
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.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 45100788b..e4b3b04f4 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -858,7 +858,7 @@ free_buffer(buf_T *buf) channel_buffer_free(buf); #endif #ifdef FEAT_TERMINAL - free_terminal(buf->b_term); + free_terminal(buf); #endif buf_hashtab_remove(buf); |