diff src/proto/terminal.pro @ 18508:3cd689e9eb7f v8.1.2248

patch 8.1.2248: CTRL-W dot does not work when modifyOtherKeys is enabled Commit: https://github.com/vim/vim/commit/1e814bc017907209a66af82f8fb76c6d1fc324aa Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 3 21:19:41 2019 +0100 patch 8.1.2248: CTRL-W dot does not work when modifyOtherKeys is enabled Problem: CTRL-W dot does not work in a terminal when modifyOtherKeys is enabled. Solution: Use the modifier when needed. Pass the modifier along with the key to avoid mistakes.
author Bram Moolenaar <Bram@vim.org>
date Sun, 03 Nov 2019 21:30:04 +0100
parents 4ac8161e92e0
children ce8c47ed54e5
line wrap: on
line diff
--- a/src/proto/terminal.pro
+++ b/src/proto/terminal.pro
@@ -13,7 +13,7 @@ int term_try_stop_job(buf_T *buf);
 int term_check_timers(int next_due_arg, proftime_T *now);
 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 send_keys_to_term(term_T *term, int c, int modmask, int typed);
 int terminal_is_active(void);
 cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg);
 int term_use_loop(void);