vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

commit 065342058f8c98da98d8bef2affb3174b3ab3457
parent 798fb7599b585159482c64386f26bef63a2c5674
Author: Russ Cox <rsc@swtch.com>
Date:   Wed,  2 Jul 2008 23:35:46 -0400

9vx/OSX: unicode input (thanks to Andrey Mirtchovski)

Diffstat:
Msrc/9vx/osx/screen.c | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/9vx/osx/screen.c b/src/9vx/osx/screen.c @@ -410,6 +410,13 @@ kbdevent(EventRef event) k = keycvt[code]; if(k >= 0) latin1putc(k, kputc); + else{ + UniChar uc; + GetEventParameter(event, kEventParamKeyUnicodes, + typeUnicodeText, nil, sizeof uc, nil, &uc); + if(uc >= 0) + kputc(uc); + } break; case kEventRawKeyModifiersChanged: