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 (); diff --git a/termo b/termo index 828f03a..788b252 160000 --- a/termo +++ b/termo @@ -1 +1 @@ -Subproject commit 828f03a063ef5e1e9bb113614083c3f4e59d5317 +Subproject commit 788b2524077c9529a61f2f8db41a33d09b79f962