Mercurial > vim
comparison src/proto/terminal.pro @ 13438:33eea5ce5415 v8.0.1593
patch 8.0.1593: :qall never exits with an active terminal window
commit https://github.com/vim/vim/commit/25cdd9c33b21ddbd31321c075873bb225450d2d2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 10 20:28:12 2018 +0100
patch 8.0.1593: :qall never exits with an active terminal window
Problem: :qall never exits with an active terminal window.
Solution: Add a way to kill a job in a terminal window.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 10 Mar 2018 20:30:04 +0100 |
parents | fa198b71bab2 |
children | a62b0bbc8834 |
comparison
equal
deleted
inserted
replaced
13437:02b3f719eacb | 13438:33eea5ce5415 |
---|---|
1 /* terminal.c */ | 1 /* terminal.c */ |
2 void ex_terminal(exarg_T *eap); | 2 void ex_terminal(exarg_T *eap); |
3 int term_write_session(FILE *fd, win_T *wp); | 3 int term_write_session(FILE *fd, win_T *wp); |
4 int term_should_restore(buf_T *buf); | 4 int term_should_restore(buf_T *buf); |
5 void f_term_setrestore(typval_T *argvars, typval_T *rettv); | |
6 void free_terminal(buf_T *buf); | 5 void free_terminal(buf_T *buf); |
7 void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel); | 6 void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel); |
8 int term_job_running(term_T *term); | 7 int term_job_running(term_T *term); |
9 int term_none_open(term_T *term); | 8 int term_none_open(term_T *term); |
9 int term_try_stop_job(buf_T *buf); | |
10 int term_in_normal_mode(void); | 10 int term_in_normal_mode(void); |
11 void term_enter_job_mode(void); | 11 void term_enter_job_mode(void); |
12 int send_keys_to_term(term_T *term, int c, int typed); | 12 int send_keys_to_term(term_T *term, int c, int typed); |
13 int terminal_is_active(void); | 13 int terminal_is_active(void); |
14 cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg); | 14 cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg); |
39 void f_term_gettitle(typval_T *argvars, typval_T *rettv); | 39 void f_term_gettitle(typval_T *argvars, typval_T *rettv); |
40 void f_term_gettty(typval_T *argvars, typval_T *rettv); | 40 void f_term_gettty(typval_T *argvars, typval_T *rettv); |
41 void f_term_list(typval_T *argvars, typval_T *rettv); | 41 void f_term_list(typval_T *argvars, typval_T *rettv); |
42 void f_term_scrape(typval_T *argvars, typval_T *rettv); | 42 void f_term_scrape(typval_T *argvars, typval_T *rettv); |
43 void f_term_sendkeys(typval_T *argvars, typval_T *rettv); | 43 void f_term_sendkeys(typval_T *argvars, typval_T *rettv); |
44 void f_term_setrestore(typval_T *argvars, typval_T *rettv); | |
45 void f_term_setkill(typval_T *argvars, typval_T *rettv); | |
44 void f_term_start(typval_T *argvars, typval_T *rettv); | 46 void f_term_start(typval_T *argvars, typval_T *rettv); |
45 void f_term_wait(typval_T *argvars, typval_T *rettv); | 47 void f_term_wait(typval_T *argvars, typval_T *rettv); |
46 void term_send_eof(channel_T *ch); | 48 void term_send_eof(channel_T *ch); |
47 int terminal_enabled(void); | 49 int terminal_enabled(void); |
48 /* vim: set ft=c : */ | 50 /* vim: set ft=c : */ |