forked from aniani/vim
Also make ALT modifier work for mouse wheel. (Benjamin Haskell)
This commit is contained in:
parent
d160c34019
commit
01a8f38fcd
@ -4778,6 +4778,8 @@ check_termcode(max_offset, buf, buflen)
|
||||
{
|
||||
if (wheel_code & MOUSE_CTRL)
|
||||
modifiers |= MOD_MASK_CTRL;
|
||||
if (wheel_code & MOUSE_ALT)
|
||||
modifiers |= MOD_MASK_ALT;
|
||||
key_name[1] = (wheel_code & 1)
|
||||
? (int)KE_MOUSEUP : (int)KE_MOUSEDOWN;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user