Change curses from cbreak mode to raw mode to allow for ^C to clear the line.
authorDavid Griffith <dave@661.org>
Tue, 20 Feb 2018 10:30:41 +0000 (02:30 -0800)
committerDavid Griffith <dave@661.org>
Tue, 20 Feb 2018 10:30:41 +0000 (02:30 -0800)
src/curses/ux_init.c

index 6e6057fd883d5b8b73fccc8e719073d8ef0a1752..db8710e17630415eed2c4f35a5fefba0e04a7716 100644 (file)
@@ -409,7 +409,7 @@ void os_init_screen (void)
        exit(1);
     }
     u_setup.curses_active = 1; /* Let os_fatal know curses is running */
-    cbreak();                  /* Raw input mode, no line processing */
+    raw();                     /* Raw input mode, no line processing */
     noecho();                  /* No input echo */
     nonl();                    /* No newline translation */
     intrflush(stdscr, TRUE);   /* Flush output on interrupt */