Scope-eye.net Git Repository
/
liskon_frotz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec3a4c5
)
Change curses from cbreak mode to raw mode to allow for ^C to clear the line.
author
David Griffith
<dave@661.org>
Tue, 20 Feb 2018 10:30:41 +0000
(
02:30
-0800)
committer
David Griffith
<dave@661.org>
Tue, 20 Feb 2018 10:30:41 +0000
(
02:30
-0800)
src/curses/ux_init.c
patch
|
blob
|
history
diff --git
a/src/curses/ux_init.c
b/src/curses/ux_init.c
index 6e6057fd883d5b8b73fccc8e719073d8ef0a1752..db8710e17630415eed2c4f35a5fefba0e04a7716 100644
(file)
--- 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 */