Control: tags 980427 + pending Dear maintainer,
I've prepared an NMU for neomutt (versioned as 20201127+dfsg.1-1.1) and uploaded it to DELAYED/10. Please feel free to tell me if I should delay it longer. I have already requested an unblock: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986341 Regards. -- |)|/ Ryan Kavanagh | GPG: 4E46 9519 ED67 7734 268F |\|\ https://rak.ac | BD95 8F7B F8FC 4A11 C97A
diff -Nru neomutt-20201127+dfsg.1/debian/changelog neomutt-20201127+dfsg.1/debian/changelog --- neomutt-20201127+dfsg.1/debian/changelog 2021-01-30 11:18:27.000000000 -0500 +++ neomutt-20201127+dfsg.1/debian/changelog 2021-03-16 15:37:31.000000000 -0400 @@ -1,3 +1,11 @@ +neomutt (20201127+dfsg.1-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Clear the message window on SIGWINCH, redraw-on-sigwinch.patch + (Closes: #980427) + + -- Ryan Kavanagh <r...@debian.org> Tue, 16 Mar 2021 15:37:31 -0400 + neomutt (20201127+dfsg.1-1) unstable; urgency=medium * New upstream release. diff -Nru neomutt-20201127+dfsg.1/debian/patches/series neomutt-20201127+dfsg.1/debian/patches/series --- neomutt-20201127+dfsg.1/debian/patches/series 2021-01-30 11:18:27.000000000 -0500 +++ neomutt-20201127+dfsg.1/debian/patches/series 2021-03-16 15:37:31.000000000 -0400 @@ -3,3 +3,4 @@ debian-specific/document_debian_defaults.patch misc/smime.rc.patch upstream/981306-mime-forwarding.patch +upstream/redraw-on-sigwinch.patch diff -Nru neomutt-20201127+dfsg.1/debian/patches/upstream/redraw-on-sigwinch.patch neomutt-20201127+dfsg.1/debian/patches/upstream/redraw-on-sigwinch.patch --- neomutt-20201127+dfsg.1/debian/patches/upstream/redraw-on-sigwinch.patch 1969-12-31 19:00:00.000000000 -0500 +++ neomutt-20201127+dfsg.1/debian/patches/upstream/redraw-on-sigwinch.patch 2021-03-16 15:37:31.000000000 -0400 @@ -0,0 +1,43 @@ +From: Richard Russon <r...@flatcap.org> +Date: Mon, 7 Dec 2020 14:21:45 +0000 +Subject: clear the message window on SIGWINCH (#2756) + +When the terminal is resized (or the font-size is changed), +the screen must be redrawn. This *used* to involve clearing the entire +screen. Soon, it will be delegated to individual windows to refresh +themselves. + +In the mean time, forcibly clear the MessageWindow. + +Fixes: #2749 + +Origin: https://github.com/neomutt/neomutt/commit/88f0b0572da9414550608054e960fd00b8d6b939 +--- + index.c | 1 + + pager.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/index.c b/index.c +index c29ba8b..af3a18f 100644 +--- a/index.c ++++ b/index.c +@@ -1368,6 +1368,7 @@ int mutt_index_menu(struct MuttWindow *dlg) + /* force a real complete redraw. clrtobot() doesn't seem to be able + * to handle every case without this. */ + clearok(stdscr, true); ++ mutt_window_clearline(MessageWindow, 0); + continue; + } + +diff --git a/pager.c b/pager.c +index b08dda2..0e333c0 100644 +--- a/pager.c ++++ b/pager.c +@@ -2473,6 +2473,7 @@ int mutt_pager(const char *banner, const char *fname, PagerFlags flags, struct P + SigWinch = 0; + mutt_resize_screen(); + clearok(stdscr, true); /* force complete redraw */ ++ mutt_window_clearline(MessageWindow, 0); + + if (flags & MUTT_PAGER_RETWINCH) + {
signature.asc
Description: PGP signature