Author: David Fifield Bug: https://savannah.gnu.org/bugs/?48594 Bug-Debian: https://bugs.debian.org/859313 Forwarded: https://savannah.gnu.org/bugs/?48594 Last-Update: 2026-05-07 Subject: Restore the value of defflow after (re-)attachment. diff --git a/termcap.c b/termcap.c index b49818b..327a491 100644 --- a/termcap.c +++ b/termcap.c @@ -183,7 +183,7 @@ int InitTermcap(int width, int height) if (D_CXT) D_BE = 1; } - if (nwin_options.flowflag == nwin_undef.flowflag) + if (nwin_default.flowflag == nwin_undef.flowflag) nwin_default.flowflag = D_CNF ? FLOW_OFF : D_NX ? FLOW_ON : FLOW_AUTOFLAG; D_CLP |= (!D_AM || D_XV || D_XN); if (!D_BL)