summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElmo Todurov <todurov+git@gmail.com>2013-08-06 11:17:02 +0300
committerElmo Todurov <todurov+git@gmail.com>2013-08-06 11:17:02 +0300
commitbcfbd5d7c3d6a1485fd7f8ecab4f55235c0a3382 (patch)
tree78de6f7a384de234f39f398902034ebde38a247c /src
parent820480f8e22a0f881446542c173e9bd97c0665d6 (diff)
Changed cbreak mode to raw mode in main-gcu. Fixes ctrl-c, ctl-s, ctrl-q in ncurses mode.
Diffstat (limited to 'src')
-rw-r--r--src/main-gcu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main-gcu.c b/src/main-gcu.c
index 57c41703..4e259a65 100644
--- a/src/main-gcu.c
+++ b/src/main-gcu.c
@@ -451,7 +451,7 @@ static errr Term_xtra_gcu_alive(int v)
keymap_norm();
/* Restore modes */
- nocbreak();
+ noraw();
echo();
nl();
@@ -482,7 +482,7 @@ static errr Term_xtra_gcu_alive(int v)
/* (void)wrefresh(curscr); */
/* Restore the settings */
- cbreak();
+ raw();
noecho();
nonl();
@@ -1114,7 +1114,7 @@ errr init_gcu(int argc, char **argv)
#endif
/* Prepare */
- cbreak();
+ raw();
noecho();
nonl();