Mercurial > vim
diff src/proto/terminal.pro @ 11834:0cfe4a07c2ad v8.0.0797
patch 8.0.0797: finished job in terminal window is not handled
commit https://github.com/vim/vim/commit/d85f271bf8516dbd90be4d18f905f0abbfcd6db6
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 28 21:51:57 2017 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 28 Jul 2017 22:00:04 +0200 |
parents | 5630978ae089 |
children | f080b225a2a4 |
line wrap: on
line diff
--- a/src/proto/terminal.pro +++ b/src/proto/terminal.pro @@ -1,10 +1,10 @@ /* terminal.c */ void ex_terminal(exarg_T *eap); -void free_terminal(term_T *term); +void free_terminal(buf_T *buf); void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel); -void terminal_loop(void); -void term_job_ended(job_T *job); -void term_update_window(win_T *wp); +int terminal_loop(void); +void term_channel_closed(channel_T *ch); +int term_update_window(win_T *wp); char_u *term_get_status_text(term_T *term); int set_ref_in_term(int copyID); /* vim: set ft=c : */