~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Let's spell '\t' as VK_TAB in that last patch, in fact, just in case
[sgt/putty]
/
window.c
diff --git
a/window.c
b/window.c
index
a7aeb1f
..
3852d9e
100644
(file)
--- a/
window.c
+++ b/
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++ = '[';
*p++ = 'Z';
*p++ = 0x1B; /* ESC */
*p++ = '[';
*p++ = 'Z';