diff options
author | Kevin McCarthy <kevin@8t8.us> | 2022-09-21 13:02:40 +0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2022-10-08 12:37:58 -0700 |
commit | 9fb2755dc88b836f062cc5dc6f61d657fd61cf49 (patch) | |
tree | e254b249e8e22bcf679098e8e18fdf5f702fff1b | |
parent | 619db54f5133cc788513737ca354f91ab54130fc (diff) |
Change a few cases of endwin() to call mutt_endwin().
The remaining cases in the Mutt code are special cases, but these two
should be fixed. This ensures SigWinch is set.
-rw-r--r-- | commands.c | 2 | ||||
-rw-r--r-- | compress.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -490,7 +490,7 @@ static void pipe_msg (HEADER *h, FILE *fp, int decode, int print) { if (!crypt_valid_passphrase(h->security)) return; - endwin (); + mutt_endwin (NULL); } if (decode) @@ -402,7 +402,7 @@ execute_command (CONTEXT *ctx, const char *command, const char *progress) mutt_message (progress, ctx->realpath); mutt_block_signals(); - endwin(); + mutt_endwin (NULL); fflush (stdout); expand_command_str (ctx, command, sys_cmd, sizeof (sys_cmd)); |