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/proto/terminal.pro | |
parent | d973bcb483088b69eb1aed3788476662fe6b77ef (diff) |
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/proto/terminal.pro')
-rw-r--r-- | src/proto/terminal.pro | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro index ac0beb51d9..70e619a5dc 100644 --- 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 : */ |