summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2011-01-25 00:04:31 +0100
committerReiner Herrmann <reiner@reiner-h.de>2011-01-25 00:04:31 +0100
commit4d26111501a131173857a20eb7050bc1b5f8e04a (patch)
tree57c8c3bcddbb1a8d00ea7fe05691f4d5a5b57876 /src/ui.c
parentab9017f39f7a90bef9733a5274260deb14c73268 (diff)
little cleanup; enable interrupts (ctrl-c)
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();