|
|
|
@ -93,8 +93,8 @@ notcurses_stop_minimal(notcurses* nc){
|
|
|
|
|
return ret;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// this wildly unsafe handler will attempt to restore the screen upon
|
|
|
|
|
// reception of SIG{INT, SEGV, ABRT, QUIT, TERM}. godspeed you, black emperor!
|
|
|
|
|
// this wildly unsafe handler will attempt to restore the screen upon receipt
|
|
|
|
|
// of SIG{INT, SEGV, ABRT, QUIT, TERM}. godspeed you, black emperor!
|
|
|
|
|
static void
|
|
|
|
|
fatal_handler(int signo){
|
|
|
|
|
notcurses* nc = atomic_load(&signal_nc);
|
|
|
|
|