forked from aniani/vim
patch 9.1.0660: MS-Windows: Shift-Insert does work on old conhost
Problem: MS-Windows: Shift-Insert does not work on old conhost (Nick Jensen, after 9.0.1146) Solution: handle Shift-Insert specifically (Christian Plewright) fixes: #15326 closes: #15430 Signed-off-by: Christopher Plewright <chris@createng.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
e0fd1ca7df
commit
f5f69e8663
@@ -1264,6 +1264,13 @@ decode_key_event(
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (pker->wVirtualKeyCode == VK_INSERT
|
||||
&& (nModifs & SHIFT) != 0
|
||||
&& (nModifs & ~SHIFT) == 0)
|
||||
{
|
||||
*pmodifiers = 0;
|
||||
*pch2 = VirtKeyMap[i].chShift;
|
||||
}
|
||||
else
|
||||
{
|
||||
*pch2 = VirtKeyMap[i].chAlone;
|
||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
660,
|
||||
/**/
|
||||
659,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user