projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some Windows keymaps, it turns out, don't translate the key
[u/mdw/putty]
/
windows
/
window.c
diff --git
a/windows/window.c
b/windows/window.c
index
033cfa5
..
86cece8
100644
(file)
--- a/
windows/window.c
+++ b/
windows/window.c
@@
-3995,7
+3995,7
@@
static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam,
*p++ = 0x1F;
return p - output;
}
- if (shift_state == 2 &&
wParam == 0xDF
) {
+ if (shift_state == 2 &&
(wParam == 0xDF || wParam == 0xDC)
) {
*p++ = 0x1C;
return p - output;
}