projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Richard B's patch to enable users to explicitly request shadow bold
[u/mdw/putty]
/
window.c
diff --git
a/window.c
b/window.c
index
1c3e225
..
794efc2
100644
(file)
--- a/
window.c
+++ b/
window.c
@@
-3537,6
+3537,10
@@
static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam,
*p++ = 0x1C;
return p - output;
}
*p++ = 0x1C;
return p - output;
}
+ if (shift_state == 3 && wParam == 0xDE) {
+ *p++ = 0x1E; /* Ctrl-~ == Ctrl-^ in xterm at least */
+ return p - output;
+ }
if (shift_state == 0 && wParam == VK_RETURN && term->cr_lf_return) {
*p++ = '\r';
*p++ = '\n';
if (shift_state == 0 && wParam == VK_RETURN && term->cr_lf_return) {
*p++ = '\r';
*p++ = '\n';