Mercurial > vim
comparison src/proto/terminal.pro @ 11866:be40c8a9240d v8.0.0813
patch 8.0.0813: cannot use a terminal window while the job is running
commit https://github.com/vim/vim/commit/423802d1a282df35078539970eabf559186e1ec8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 30 16:52:24 2017 +0200
patch 8.0.0813: cannot use a terminal window while the job is running
Problem: Cannot use Vim commands in a terminal window while the job is
running.
Solution: Implement Terminal Normal mode.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 30 Jul 2017 17:00:04 +0200 |
parents | 1c65cad8b967 |
children | 3704ca24c9a2 |
comparison
equal
deleted
inserted
replaced
11865:6bdac11ae12a | 11866:be40c8a9240d |
---|---|
1 /* terminal.c */ | 1 /* terminal.c */ |
2 void ex_terminal(exarg_T *eap); | 2 void ex_terminal(exarg_T *eap); |
3 void free_terminal(buf_T *buf); | 3 void free_terminal(buf_T *buf); |
4 void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel); | 4 void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel); |
5 int term_in_terminal_mode(void); | |
6 void term_leave_terminal_mode(void); | |
7 int term_use_loop(void); | |
5 int terminal_loop(void); | 8 int terminal_loop(void); |
6 void term_job_ended(job_T *job); | 9 void term_job_ended(job_T *job); |
7 void term_channel_closed(channel_T *ch); | 10 void term_channel_closed(channel_T *ch); |
8 int term_update_window(win_T *wp); | 11 int term_update_window(win_T *wp); |
9 int term_is_finished(buf_T *buf); | 12 int term_is_finished(buf_T *buf); |
13 int term_show_buffer(buf_T *buf); | |
10 void term_change_in_curbuf(void); | 14 void term_change_in_curbuf(void); |
11 int term_get_attr(buf_T *buf, linenr_T lnum, int col); | 15 int term_get_attr(buf_T *buf, linenr_T lnum, int col); |
12 char_u *term_get_status_text(term_T *term); | 16 char_u *term_get_status_text(term_T *term); |
13 int set_ref_in_term(int copyID); | 17 int set_ref_in_term(int copyID); |
14 void f_term_getattr(typval_T *argvars, typval_T *rettv); | 18 void f_term_getattr(typval_T *argvars, typval_T *rettv); |
15 void f_term_getjob(typval_T *argvars, typval_T *rettv); | 19 void f_term_getjob(typval_T *argvars, typval_T *rettv); |
16 void f_term_getline(typval_T *argvars, typval_T *rettv); | 20 void f_term_getline(typval_T *argvars, typval_T *rettv); |
17 void f_term_getsize(typval_T *argvars, typval_T *rettv); | 21 void f_term_getsize(typval_T *argvars, typval_T *rettv); |
18 void f_term_list(typval_T *argvars, typval_T *rettv); | 22 void f_term_list(typval_T *argvars, typval_T *rettv); |
19 void f_term_start(typval_T *argvars, typval_T *rettv); | |
20 void f_term_scrape(typval_T *argvars, typval_T *rettv); | 23 void f_term_scrape(typval_T *argvars, typval_T *rettv); |
21 void f_term_sendkeys(typval_T *argvars, typval_T *rettv); | 24 void f_term_sendkeys(typval_T *argvars, typval_T *rettv); |
25 void f_term_start(typval_T *argvars, typval_T *rettv); | |
22 void f_term_wait(typval_T *argvars, typval_T *rettv); | 26 void f_term_wait(typval_T *argvars, typval_T *rettv); |
23 /* vim: set ft=c : */ | 27 /* vim: set ft=c : */ |