Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/src/proto/terminal.pro +++ b/src/proto/terminal.pro @@ -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);