diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-03-10 20:28:12 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-03-10 20:28:12 +0100 |
commit | 25cdd9c33b21ddbd31321c075873bb225450d2d2 (patch) | |
tree | 380538cdf0abb9b7f3777c57ada6930930c9e036 /src/proto/terminal.pro | |
parent | b5b7562475ad032a174b893286172de0d2c157cd (diff) |
patch 8.0.1593: :qall never exits with an active terminal windowv8.0.1593
Problem: :qall never exits with an active terminal window.
Solution: Add a way to kill a job in a terminal window.
Diffstat (limited to 'src/proto/terminal.pro')
-rw-r--r-- | src/proto/terminal.pro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro index aefa40d84d..f7d06c050b 100644 --- a/src/proto/terminal.pro +++ b/src/proto/terminal.pro @@ -2,11 +2,11 @@ void ex_terminal(exarg_T *eap); int term_write_session(FILE *fd, win_T *wp); int term_should_restore(buf_T *buf); -void f_term_setrestore(typval_T *argvars, typval_T *rettv); 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_none_open(term_T *term); +int term_try_stop_job(buf_T *buf); int term_in_normal_mode(void); void term_enter_job_mode(void); int send_keys_to_term(term_T *term, int c, int typed); @@ -41,6 +41,8 @@ void f_term_gettty(typval_T *argvars, typval_T *rettv); void f_term_list(typval_T *argvars, typval_T *rettv); void f_term_scrape(typval_T *argvars, typval_T *rettv); void f_term_sendkeys(typval_T *argvars, typval_T *rettv); +void f_term_setrestore(typval_T *argvars, typval_T *rettv); +void f_term_setkill(typval_T *argvars, typval_T *rettv); void f_term_start(typval_T *argvars, typval_T *rettv); void f_term_wait(typval_T *argvars, typval_T *rettv); void term_send_eof(channel_T *ch); |