From 133ff4e6519081ca09728e17fa945c921be8fa1f Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 20 Aug 2018 17:20:44 -0400 Subject: Avoid unportable iswascii(3) --- ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui.c') 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); -- cgit 1.4.1-2-gfad0