Avoid unportable iswascii(3)
This commit is contained in:
parent
431dd32cf1
commit
133ff4e651
2
ui.c
2
ui.c
@ -437,7 +437,7 @@ static void logPageDown(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static bool keyChar(wchar_t ch) {
|
static bool keyChar(wchar_t ch) {
|
||||||
if (iswascii(ch)) {
|
if (ch < 0200) {
|
||||||
enum TermEvent event = termEvent((char)ch);
|
enum TermEvent event = termEvent((char)ch);
|
||||||
switch (event) {
|
switch (event) {
|
||||||
break; case TERM_FOCUS_IN: viewUnmark(ui.view);
|
break; case TERM_FOCUS_IN: viewUnmark(ui.view);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user