Update termo

This commit is contained in:
Přemysl Eric Janouch 2014-11-19 03:30:04 +01:00
parent 2562d108fa
commit a5e0c0ea71
2 changed files with 3 additions and 5 deletions

View File

@ -1249,12 +1249,10 @@ G_GNUC_END_IGNORE_DEPRECATIONS
if (!(app.tk = termo_new (STDIN_FILENO, NULL, 0))) if (!(app.tk = termo_new (STDIN_FILENO, NULL, 0)))
abort (); abort ();
if (!initscr () if (!initscr () || nonl () == ERR)
|| noecho () == ERR
|| nonl () == ERR)
abort (); abort ();
// TODO: catch SIGINT as well // TODO: catch SIGINT and SIGTERM as well
if (pipe (g_winch_pipe) == -1) if (pipe (g_winch_pipe) == -1)
abort (); abort ();
install_winch_handler (); install_winch_handler ();

2
termo

@ -1 +1 @@
Subproject commit 828f03a063ef5e1e9bb113614083c3f4e59d5317 Subproject commit 788b2524077c9529a61f2f8db41a33d09b79f962