1
0
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:
Simon Tatham 2000-03-13 15:04:07 +00:00
parent 41be6d6f4d
commit 7aa84c296f

View File

@ -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';