diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-09-06 21:20:40 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-09-06 21:30:03 +0200 |
commit | 30777e8fd305f322b4ddd197ebeab894a63b3a8a (patch) | |
tree | 3a92cb8d87b4db0d4308e7a6bafa828e479bc808 /nncmpp.actions | |
parent | 353174ee3c5f3990f6745079a3fcb8dd98f728e0 (diff) | |
download | nncmpp-30777e8fd305f322b4ddd197ebeab894a63b3a8a.tar.gz nncmpp-30777e8fd305f322b4ddd197ebeab894a63b3a8a.tar.xz nncmpp-30777e8fd305f322b4ddd197ebeab894a63b3a8a.zip |
Improve terminal initialisation
Don't just abort() on failures, print a proper error message.
Also, set up ncurses as late as possible. This should be alright wrt.
signal handlers according to ncurses code, as well as XSI:
> Curses implementations may provide for special handling of
> the SIGINT, SIGQUIT and SIGTSTP signals if their disposition
> is SIG_DFL at the time initscr is called ...
termo blocks job control, so SIGTSTP is not a concern at all.
Diffstat (limited to 'nncmpp.actions')
0 files changed, 0 insertions, 0 deletions