mirror of
https://github.com/neovim/neovim.git
synced 2025-10-12 12:56:04 +00:00
fix(terminal): include modifiers when forwarding mouse (#24549)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user