mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-10 15:48:06 -05:00
Let's spell '\t' as VK_TAB in that last patch, in fact, just in case
[originally from svn r409]
This commit is contained in:
parent
41be6d6f4d
commit
7aa84c296f
2
window.c
2
window.c
@ -1435,7 +1435,7 @@ static int TranslateKey(WPARAM wParam, LPARAM lParam, unsigned char *output) {
|
||||
/*
|
||||
* Shift-Tab should send ESC [ Z.
|
||||
*/
|
||||
if (ret && (keystate[VK_SHIFT] & 0x80) && wParam == '\t') {
|
||||
if (ret && (keystate[VK_SHIFT] & 0x80) && wParam == VK_TAB) {
|
||||
*p++ = 0x1B; /* ESC */
|
||||
*p++ = '[';
|
||||
*p++ = 'Z';
|
||||
|
Loading…
x
Reference in New Issue
Block a user