From: David Griffith Date: Tue, 20 Feb 2018 10:30:41 +0000 (-0800) Subject: Change curses from cbreak mode to raw mode to allow for ^C to clear the line. X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=12d16068ac3631d1bec879605359009ec20893dc;p=liskon_frotz.git Change curses from cbreak mode to raw mode to allow for ^C to clear the line. --- 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 */