diff options
author | 2014-03-10 18:17:20 -0400 | |
---|---|---|
committer | 2014-03-10 18:17:20 -0400 | |
commit | beb1faefa12bfdbbbbdbf6bf18db5449cb8cb538 (patch) | |
tree | 9f6db5fec182ae06aafd9b4c6b91d5c69c1643b6 /src/textadept.c | |
parent | 4f2d0815b79e9b4b4e66203e3925c2f24d6a7f4c (diff) | |
download | textadept-beb1faefa12bfdbbbbdbf6bf18db5449cb8cb538.tar.gz textadept-beb1faefa12bfdbbbbdbf6bf18db5449cb8cb538.zip |
Fixed Win32 terminal bug that disallowed Shifted characters; src/textadept.c
Diffstat (limited to 'src/textadept.c')
-rw-r--r-- | src/textadept.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/textadept.c b/src/textadept.c index 9053d0d3..9b5a789a 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -2496,6 +2496,7 @@ int main(int argc, char **argv) { int shift = PDC_get_key_modifiers() & PDC_KEY_MODIFIER_SHIFT; int ctrl = PDC_get_key_modifiers() & PDC_KEY_MODIFIER_CONTROL; int alt = PDC_get_key_modifiers() & PDC_KEY_MODIFIER_ALT; + if (c >= 32 && c <= 127) shift = 0; // do not shift printable keys #else TermKeyResult res; TermKeyKey key; |