about summary refs log tree commit diff stats
path: root/src/windows.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-11-23 02:00:51 +0000
committerJames Booth <boothj5@gmail.com>2012-11-23 02:00:51 +0000
commit721df8ca48b8cbf0026f3a36a3d17b45cb82b850 (patch)
tree0857a6e2917bcb4b7bb917adbe720e411157536d /src/windows.c
parent2a69f8d23f8e3e120604560818d86658ee66f088 (diff)
downloadprofani-tty-721df8ca48b8cbf0026f3a36a3d17b45cb82b850.tar.gz
Stop ctrl-c quitting with /ctrlc off
Diffstat (limited to 'src/windows.c')
-rw-r--r--src/windows.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/windows.c b/src/windows.c
index 75154b64..7d92a419 100644
--- a/src/windows.c
+++ b/src/windows.c
@@ -106,7 +106,7 @@ gui_init(void)
 {
     log_info("Initialising UI");
     initscr();
-    cbreak();
+    raw();
     keypad(stdscr, TRUE);
 
     win_load_colours();
@@ -1050,6 +1050,11 @@ cons_prefs(void)
     else
         cons_show("Version checking             : OFF");
 
+    if (prefs_get_ctrlc())
+        cons_show("Ctrl-c quits                 : ON");
+    else
+        cons_show("Ctrl-c quits                 : OFF");
+
     if (prefs_get_notify_message())
         cons_show("Message notifications        : ON");
     else