diff options
author | Kevin McCarthy <kevin@8t8.us> | 2022-09-21 13:00:44 +0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2022-10-08 12:37:58 -0700 |
commit | 619db54f5133cc788513737ca354f91ab54130fc (patch) | |
tree | 055a2364819e74791941678105543ec99862fc51 | |
parent | 925a292766f32afadd1496871964348223657335 (diff) |
Add SigWinch = 1 to mutt_endwin().
Since mutt_reflow_window() needs to be called on a resize, and it's
possible for programs to block SIGWINCH being sent to Mutt, this is a
fail-safe to ensure it's run.
The previous commit moved SigWinch handling before refresh() in the
menus, which should prevent double-refresh issues.
-rw-r--r-- | curs_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -995,6 +995,7 @@ void mutt_endwin (const char *msg) */ mutt_refresh(); endwin (); + SigWinch = 1; } if (msg && *msg) |