diff options
author | Christopher Plewright <chris@createng.com> | 2024-08-04 19:57:44 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-08-04 19:57:44 +0200 |
commit | f5f69e8663db65567deb028c1d8e102a9c03ae55 (patch) | |
tree | 306c81d2c75c6e895c3ac49e29e69cda0f7ab2aa | |
parent | e0fd1ca7df6a94e8be7d8221d76381483690ff3c (diff) |
patch 9.1.0660: MS-Windows: Shift-Insert does work on old conhostv9.1.0660
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>
-rw-r--r-- | src/os_win32.c | 7 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index eeb3b47166..44d92c0f4a 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -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; diff --git a/src/version.c b/src/version.c index ef2f542e51..13167ab9d3 100644 --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 660, +/**/ 659, /**/ 658, |