about summary refs log tree commit diff stats
path: root/src/ui/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/core.c')
-rw-r--r--src/ui/core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 47aa9d10..d6b45bde 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -94,6 +94,10 @@ ui_init(void)
 {
     log_info("Initialising UI");
     initscr();
+    nonl();
+    cbreak();
+    noecho();
+    leaveok(stdscr, FALSE);
     keypad(stdscr, TRUE);
     if (prefs_get_boolean(PREF_MOUSE)) {
         mousemask(ALL_MOUSE_EVENTS, NULL);