Stop ctrl-c quitting with /ctrlc off

This commit is contained in:
James Booth
2012-11-23 02:00:51 +00:00
parent 2a69f8d23f
commit 721df8ca48
5 changed files with 59 additions and 4 deletions

View File

@@ -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