sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 9bc61b52f1a4fb3492e3799240815ed0c2a7b67f
parent 92014b9a0ac23eab5f36a2f9276ca4047200dd46
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Mon, 23 Mar 2009 08:27:27 -0400

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 

Diffstat:
M bin/sup | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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