diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/terminal.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c index 56f364bf0a..3315936b6a 100644 --- a/src/nvim/terminal.c +++ b/src/nvim/terminal.c @@ -1444,7 +1444,9 @@ static bool send_mouse_event(Terminal *term, int c) return false; } - mouse_action(term, button, row, col - offset, pressed, 0); + VTermModifier mod = VTERM_MOD_NONE; + convert_modifiers(c, &mod); + mouse_action(term, button, row, col - offset, pressed, mod); return false; } |