From a5e0c0ea7161b2c248c0347314afa851560e1a41 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Wed, 19 Nov 2014 03:30:04 +0100 Subject: Update termo --- src/sdtui.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/sdtui.c') diff --git a/src/sdtui.c b/src/sdtui.c index f607cc9..43aa352 100644 --- a/src/sdtui.c +++ b/src/sdtui.c @@ -1249,12 +1249,10 @@ G_GNUC_END_IGNORE_DEPRECATIONS if (!(app.tk = termo_new (STDIN_FILENO, NULL, 0))) abort (); - if (!initscr () - || noecho () == ERR - || nonl () == ERR) + if (!initscr () || nonl () == ERR) abort (); - // TODO: catch SIGINT as well + // TODO: catch SIGINT and SIGTERM as well if (pipe (g_winch_pipe) == -1) abort (); install_winch_handler (); -- cgit v1.2.3-70-g09d2