From: simon Date: Sun, 14 Sep 2008 15:11:42 +0000 (+0000) Subject: Some Windows keymaps, it turns out, don't translate the key X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/e414a330d66b19abceb4c367dac70408b815b302 Some Windows keymaps, it turns out, don't translate the key combination Ctrl + \ as the Ctrl-\ character. All of mine have, but at least one laptop turns out not to. Do so explicitly. git-svn-id: svn://svn.tartarus.org/sgt/putty@8182 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/windows/window.c b/windows/window.c index 033cfa5d..86cece85 100644 --- 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; }