|
|
|
@ -610,9 +610,6 @@ typedef struct notcurses {
|
|
|
|
|
int loglevel;
|
|
|
|
|
palette256 palette; // 256-indexed palette can be used instead of/with RGB
|
|
|
|
|
bool palette_damage[NCPALETTESIZE];
|
|
|
|
|
// we block many signals while writing out a frame, since interrupted escapes
|
|
|
|
|
// can lock up a terminal. this preserves the signal mask on entry.
|
|
|
|
|
sigset_t old_blocked_signals;
|
|
|
|
|
unsigned stdio_blocking_save; // was stdio blocking at entry? restore on stop.
|
|
|
|
|
} notcurses;
|
|
|
|
|
|
|
|
|
@ -1618,8 +1615,8 @@ int setup_signals(void* nc, bool no_quit_sigs, bool no_winch_sig,
|
|
|
|
|
int drop_signals(void* nc);
|
|
|
|
|
|
|
|
|
|
// block a few signals for the duration of a write to the terminal.
|
|
|
|
|
int block_signals(struct notcurses* nc);
|
|
|
|
|
int unblock_signals(struct notcurses* nc);
|
|
|
|
|
int block_signals(sigset_t* old_blocked_signals);
|
|
|
|
|
int unblock_signals(const sigset_t* old_blocked_signals);
|
|
|
|
|
|
|
|
|
|
void ncvisual_printbanner(const notcurses* nc);
|
|
|
|
|
|
|
|
|
|