comparison src/proto/terminal.pro @ 11993:92a86fe8adc0 v8.0.0877

patch 8.0.0877: using CTRL- CTRL-N in terminal is inconsistent commit https://github.com/vim/vim/commit/6d8197485dc84532e37aced2c39292bff374200d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 6 14:57:49 2017 +0200 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.
author Christian Brabandt <cb@256bit.org>
date Sun, 06 Aug 2017 15:00:04 +0200
parents d036c1c8537d
children c0ee48f48a2b
comparison
equal deleted inserted replaced
11992:e5c731391a9f 11993:92a86fe8adc0
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_job_running(term_T *term); 5 int term_job_running(term_T *term);
6 int term_in_terminal_mode(void); 6 int term_in_normal_mode(void);
7 void term_leave_terminal_mode(void); 7 void term_enter_job_mode(void);
8 int send_keys_to_term(term_T *term, int c, int typed); 8 int send_keys_to_term(term_T *term, int c, int typed);
9 int term_use_loop(int once); 9 int term_use_loop(void);
10 int terminal_loop(void); 10 int terminal_loop(void);
11 void term_job_ended(job_T *job); 11 void term_job_ended(job_T *job);
12 void term_channel_closed(channel_T *ch); 12 void term_channel_closed(channel_T *ch);
13 int term_update_window(win_T *wp); 13 int term_update_window(win_T *wp);
14 int term_is_finished(buf_T *buf); 14 int term_is_finished(buf_T *buf);