Update termo
This commit is contained in:
@@ -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
2
termo
Submodule termo updated: 828f03a063...788b252407
Reference in New Issue
Block a user