mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-21 21:15:03 -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.
|
* 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++ = 0x1B; /* ESC */
|
||||||
*p++ = '[';
|
*p++ = '[';
|
||||||
*p++ = 'Z';
|
*p++ = 'Z';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user