Update termo
This commit is contained in:
parent
2562d108fa
commit
a5e0c0ea71
|
@ -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
|
@ -1 +1 @@
|
||||||
Subproject commit 828f03a063ef5e1e9bb113614083c3f4e59d5317
|
Subproject commit 788b2524077c9529a61f2f8db41a33d09b79f962
|
Loading…
Reference in New Issue