From 015652e37948ceeda7921664d359448b2e8ea224 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Tue, 9 Nov 2021 07:45:20 +0100 Subject: Fix build with recent ncurses Easily gained, easily lost. No more ^S binding. --- sdn.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdn.cpp b/sdn.cpp index a68f05c..6017c51 100644 --- a/sdn.cpp +++ b/sdn.cpp @@ -1841,9 +1841,12 @@ int main (int argc, char *argv[]) { pop_levels (g.cwd); update (); + // Cunt, now I need to reïmplement all signal handling +#if NCURSES_VERSION_PATCH < 20210821 // This gets applied along with the following halfdelay() cur_term->Nttyb.c_cc[VSTOP] = cur_term->Nttyb.c_cc[VSTART] = _POSIX_VDISABLE; +#endif // Invoking keypad() earlier would make ncurses flush its output buffer, // which would worsen start-up flickering -- cgit v1.2.3-70-g09d2