shithub: orca

Download patch

ref: 7960e80981cb350cb344a93f8ba29038151548e8
parent: 5c010682401b65a2b9b7ac421c17897d9f381c6d
author: cancel <cancel@cancel.fm>
date: Mon Dec 3 11:49:15 EST 2018

Cleanup

--- a/tui_main.c
+++ b/tui_main.c
@@ -504,7 +504,7 @@
     // 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);