Fix build with recent ncurses

Easily gained, easily lost.  No more ^S binding.
This commit is contained in:
Přemysl Eric Janouch 2021-11-09 07:45:20 +01:00
parent c298b6fc97
commit 015652e379
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 3 additions and 0 deletions

View File

@ -1841,9 +1841,12 @@ int main (int argc, char *argv[]) {
pop_levels (g.cwd); pop_levels (g.cwd);
update (); update ();
// Cunt, now I need to reïmplement all signal handling
#if NCURSES_VERSION_PATCH < 20210821
// This gets applied along with the following halfdelay() // This gets applied along with the following halfdelay()
cur_term->Nttyb.c_cc[VSTOP] = cur_term->Nttyb.c_cc[VSTOP] =
cur_term->Nttyb.c_cc[VSTART] = _POSIX_VDISABLE; cur_term->Nttyb.c_cc[VSTART] = _POSIX_VDISABLE;
#endif
// Invoking keypad() earlier would make ncurses flush its output buffer, // Invoking keypad() earlier would make ncurses flush its output buffer,
// which would worsen start-up flickering // which would worsen start-up flickering