From 7960e80981cb350cb344a93f8ba29038151548e8 Mon Sep 17 00:00:00 2001 From: cancel Date: Mon, 3 Dec 2018 16:49:15 +0900 Subject: [PATCH] Cleanup --- tui_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tui_main.c b/tui_main.c index 6efb8c1..cc841b3 100644 --- a/tui_main.c +++ b/tui_main.c @@ -504,7 +504,7 @@ int main(int argc, char** argv) { // are better ways to do this that waste less CPU, but they require doing a // little more work on each individual platform (Linux, Mac, etc.) for (;;) { - key = getch(); + key = wgetch(stdscr); if (key != ERR) break; sleep(0);