From: William Morgan Date: Mon, 23 Mar 2009 12:27:27 +0000 (-0400) Subject: redraw screen upon sigwinch X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=9bc61b52f1a4fb3492e3799240815ed0c2a7b67f;p=sup redraw screen upon sigwinch I feel like I tried this at some point and it didn't work, but I don't remember the specifics. Modified from a patch from Liam O'Connor-Davis --- diff --git a/bin/sup b/bin/sup index b2b2f62..735948e 100644 --- a/bin/sup +++ b/bin/sup @@ -160,6 +160,7 @@ begin Logger.make_buf bm.draw_screen + trap("SIGWINCH") { bm.completely_redraw_screen } Index.usual_sources.each do |s| next unless s.respond_to? :connect