From 12d16068ac3631d1bec879605359009ec20893dc Mon Sep 17 00:00:00 2001 From: David Griffith Date: Tue, 20 Feb 2018 02:30:41 -0800 Subject: [PATCH] Change curses from cbreak mode to raw mode to allow for ^C to clear the line. --- src/curses/ux_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/curses/ux_init.c b/src/curses/ux_init.c index 6e6057f..db8710e 100644 --- a/src/curses/ux_init.c +++ b/src/curses/ux_init.c @@ -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 */ -- 2.34.1