1
0
forked from aniani/vim

patch 8.0.0877: using CTRL-\ CTRL-N in terminal is inconsistent

Problem:    Using CTRL-\ CTRL-N in terminal is inconsistent.
Solution:   Stay in Normal mode.
This commit is contained in:
Bram Moolenaar
2017-08-06 14:57:49 +02:00
parent 39d21e3c30
commit 6d8197485d
6 changed files with 55 additions and 63 deletions

View File

@@ -3,10 +3,10 @@ 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_in_normal_mode(void);
void term_enter_job_mode(void);
int send_keys_to_term(term_T *term, int c, int typed);
int term_use_loop(int once);
int term_use_loop(void);
int terminal_loop(void);
void term_job_ended(job_T *job);
void term_channel_closed(channel_T *ch);