diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-11-09 07:45:20 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-11-09 07:45:20 +0100 |
commit | 015652e37948ceeda7921664d359448b2e8ea224 (patch) | |
tree | e68971e059892c676182e718cde79bd1df936e02 | |
parent | c298b6fc97d000f7a823b21e04464e7cdd8d3a18 (diff) | |
download | sdn-015652e37948ceeda7921664d359448b2e8ea224.tar.gz sdn-015652e37948ceeda7921664d359448b2e8ea224.tar.xz sdn-015652e37948ceeda7921664d359448b2e8ea224.zip |
Fix build with recent ncurses
Easily gained, easily lost. No more ^S binding.
-rw-r--r-- | sdn.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |