mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-28 15:24:49 -05:00
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. [originally from svn r8182]
This commit is contained in:
parent
211fdb9f46
commit
9c6a1127b4
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user