forked from aniani/vim
patch 9.0.0918: MS-Windows: modifier keys do not work with mouse scroll event
Problem: MS-Windows: modifier keys do not work with mouse scroll events. Solution: Use K_SPECIAL instead of CSI for the modifier keys. (Christopher Plewright, closes #11587)
This commit is contained in:
committed by
Bram Moolenaar
parent
35fc61cb5b
commit
0319306f20
@@ -2047,7 +2047,8 @@ mch_inchar(
|
||||
{
|
||||
if (modifiers > 0)
|
||||
{
|
||||
typeahead[typeaheadlen++] = CSI;
|
||||
// use K_SPECIAL instead of CSI to make mappings work
|
||||
typeahead[typeaheadlen++] = K_SPECIAL;
|
||||
typeahead[typeaheadlen++] = KS_MODIFIER;
|
||||
typeahead[typeaheadlen++] = modifiers;
|
||||
}
|
||||
|
Reference in New Issue
Block a user