diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-01 21:44:33 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-01 21:44:33 +0200 |
commit | 94053a51255121713f51c122eb0dbb46c120e6d4 (patch) | |
tree | 3e2e3a361ebd94d218551e337450005bf55d8d3e /src/proto/terminal.pro | |
parent | 0792048842493f224bbd7a5dfb348d834f61b205 (diff) |
patch 8.0.0838: buffer hangs around whem terminal window is closedv8.0.0838
Problem: Buffer hangs around whem terminal window is closed.
Solution: When the job has ended wipe out a terminal buffer when the window
is closed.
Diffstat (limited to 'src/proto/terminal.pro')
-rw-r--r-- | src/proto/terminal.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro index 24789293df..556f9dd61f 100644 --- a/src/proto/terminal.pro +++ b/src/proto/terminal.pro @@ -2,6 +2,7 @@ void ex_terminal(exarg_T *eap); void free_terminal(buf_T *buf); void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel); +int term_job_running(term_T *term); int term_in_terminal_mode(void); void term_leave_terminal_mode(void); int term_use_loop(void); |