diff options
author | June McEnroe <june@causal.agency> | 2018-08-20 17:20:44 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-08-20 17:20:44 -0400 |
commit | 133ff4e6519081ca09728e17fa945c921be8fa1f (patch) | |
tree | 5add025ce6dce74cd65814970f9b4aef728c9867 | |
parent | Fix missing stdint.h include (diff) | |
download | catgirl-133ff4e6519081ca09728e17fa945c921be8fa1f.tar.gz catgirl-133ff4e6519081ca09728e17fa945c921be8fa1f.zip |
Avoid unportable iswascii(3)
-rw-r--r-- | ui.c | 2 |
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); |