From 9bc61b52f1a4fb3492e3799240815ed0c2a7b67f Mon Sep 17 00:00:00 2001 From: William Morgan Date: Mon, 23 Mar 2009 08:27:27 -0400 Subject: [PATCH] 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 --- bin/sup | 1 + 1 file changed, 1 insertion(+) 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 -- 2.45.2