summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-20 17:20:44 -0400
committerJune McEnroe <june@causal.agency>2018-08-20 17:20:44 -0400
commit133ff4e6519081ca09728e17fa945c921be8fa1f (patch)
tree5add025ce6dce74cd65814970f9b4aef728c9867
parentFix missing stdint.h include (diff)
downloadcatgirl-133ff4e6519081ca09728e17fa945c921be8fa1f.tar.gz
catgirl-133ff4e6519081ca09728e17fa945c921be8fa1f.zip
Avoid unportable iswascii(3)
Diffstat (limited to '')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index b4e48ba..7897bb7 100644
--- a/ui.c
+++ b/ui.c
@@ -437,7 +437,7 @@ static void logPageDown(void) {
 }
 
 static bool keyChar(wchar_t ch) {
-	if (iswascii(ch)) {
+	if (ch < 0200) {
 		enum TermEvent event = termEvent((char)ch);
 		switch (event) {
 			break; case TERM_FOCUS_IN:  viewUnmark(ui.view);
C-sJune McEnroe 2019-02-22Disable terminal flow controlJune McEnroe 2019-02-22Bind up and down arrows to scrollJune McEnroe 2019-02-22Remove topic TODOJune McEnroe 2019-02-22Add /znc commandJune McEnroe 2019-02-22Update status line after scrolling and term eventsJune McEnroe 2019-02-22Reorganize input.cJune McEnroe 2019-02-22Fix name of <raw> window in man pageJune McEnroe 2019-02-22Rename global tags with angle bracketsJune McEnroe 2019-02-22Show status window while connectingJune McEnroe 2019-02-22Reorganize UI code for the umpteenth timeJune McEnroe 2019-02-21Replace "view" with "window"June McEnroe 2019-02-21Remove ROT13June McEnroe 2019-02-21Clean up man pageJune McEnroe 2019-01-26Draw UI before connectingJune McEnroe 2019-01-25Avoid unused variable warnings with getyxJune McEnroe 2019-01-25Add GNU/Linux build instructionsJune McEnroe