summaryrefslogtreecommitdiff
path: root/src/sdtui.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2014-11-19 03:30:04 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2014-11-19 03:31:47 +0100
commita5e0c0ea7161b2c248c0347314afa851560e1a41 (patch)
tree87226a6c11092ab16bc546fa015b704c8302ea04 /src/sdtui.c
parent2562d108fab3ab2585394cc7da77edb50ee142d9 (diff)
downloadtdv-a5e0c0ea7161b2c248c0347314afa851560e1a41.tar.gz
tdv-a5e0c0ea7161b2c248c0347314afa851560e1a41.tar.xz
tdv-a5e0c0ea7161b2c248c0347314afa851560e1a41.zip
Update termotermo
Diffstat (limited to 'src/sdtui.c')
-rw-r--r--src/sdtui.c6
1 files changed, 2 insertions, 4 deletions
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 ();