cocoa: fix ctl-\ key event

This commit is contained in:
Matthew Flatt 2010-11-08 07:03:51 -07:00
parent 5354e557d4
commit 3747978c1e

View File

@ -248,7 +248,7 @@
#\nul
(let ([c (string-ref str 0)])
(or (and control?
(char<=? #\u00 c #\u1a)
(char<=? #\u00 c #\u1F)
(let ([alt-str (tell #:type _NSString event charactersIgnoringModifiers)])
(and (string? alt-str)
(= 1 (string-length alt-str))