summaryrefslogtreecommitdiff
path: root/src/mouse.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-03 21:19:41 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-03 21:19:41 +0100
commit1e814bc017907209a66af82f8fb76c6d1fc324aa (patch)
tree05f1e944d8ae05ca878842a5ed49b551852bcbd8 /src/mouse.c
parente890b9f5dd3ae76e301b2df7f3151366acaba5dc (diff)
downloadvim-git-1e814bc017907209a66af82f8fb76c6d1fc324aa.tar.gz
patch 8.1.2248: CTRL-W dot does not work when modifyOtherKeys is enabledv8.1.2248
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.
Diffstat (limited to 'src/mouse.c')
-rw-r--r--src/mouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mouse.c b/src/mouse.c
index b71ef37a4..366cbaf54 100644
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -2012,7 +2012,7 @@ nv_mousescroll(cmdarg_T *cap)
if (term_use_loop())
// This window is a terminal window, send the mouse event there.
// Set "typed" to FALSE to avoid an endless loop.
- send_keys_to_term(curbuf->b_term, cap->cmdchar, FALSE);
+ send_keys_to_term(curbuf->b_term, cap->cmdchar, mod_mask, FALSE);
else
# endif
if (mod_mask & (MOD_MASK_SHIFT | MOD_MASK_CTRL))