diff options
Diffstat (limited to 'src/cmd/devdraw')
-rw-r--r-- | src/cmd/devdraw/osx-screen.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd/devdraw/osx-screen.c b/src/cmd/devdraw/osx-screen.c index af489f3e..a196252b 100644 --- a/src/cmd/devdraw/osx-screen.c +++ b/src/cmd/devdraw/osx-screen.c @@ -427,6 +427,13 @@ kbdevent(EventRef event) k = keycvt[code]; if(k >= 0) keystroke(k); + else{ + UniChar ch; + GetEventParameter(event, kEventParamKeyUnicodes, + typeUnicodeText, nil, sizeof uc, nil, &uc); + if(uc >= 0) + keystroke(uc); + } break; case kEventRawKeyModifiersChanged: |