mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2025-03-31 02:29:39 +00:00
send upper char if caps lock
git-svn-id: svn://qnap.local/TwoTerm/trunk@1992 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
parent
1a9de35ad5
commit
5252d7c61d
@ -268,6 +268,10 @@ enum {
|
||||
if (uc <= 0x7f)
|
||||
{
|
||||
char c = uc;
|
||||
|
||||
if (flags & (NSAlphaShiftKeyMask | NSShiftKeyMask))
|
||||
c = toupper(c);
|
||||
|
||||
if (flags & NSControlKeyMask)
|
||||
c = CTRL(c);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user