Handle SIGHUP

Handle SIGHUP so that the registered exit handlers are called to restore
the terminal back to its orignal state.
This commit is contained in:
Martin Lund 2022-03-18 19:19:03 +01:00
parent ed97a8dc21
commit 03cf4ef197
4 changed files with 71 additions and 1 deletions

View file

@ -11,7 +11,8 @@ tio_sources = [
'misc.c',
'tty.c',
'print.c',
'configfile.c'
'configfile.c',
'signals.c'
]
tio_dep = dependency('inih', required: true)