mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2025-08-10 06:25:00 +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:
@@ -268,6 +268,10 @@ enum {
|
||||
if (uc <= 0x7f)
|
||||
{
|
||||
char c = uc;
|
||||
|
||||
if (flags & (NSAlphaShiftKeyMask | NSShiftKeyMask))
|
||||
c = toupper(c);
|
||||
|
||||
if (flags & NSControlKeyMask)
|
||||
c = CTRL(c);
|
||||
|
||||
|
Reference in New Issue
Block a user