summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.c b/src/ui.c
index d416d37..dbcdf52 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -427,7 +427,7 @@ void ui_init(void)
bkgd(COLOR_PAIR(0));
}
- raw(); // Line buffering disabled
+ cbreak(); // Line buffering disabled, but interrupt (CTRL-C) possible
noecho(); // Don't echo() while we do getch
curs_set(0); // Make the cursor invisible
clear();