From c805053c637e3136ba384f42b0d3c99e8c486da5 Mon Sep 17 00:00:00 2001 From: shy Date: Fri, 23 Apr 2021 13:51:32 +0200 Subject: [PATCH] Force layout recalc after suspend. --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index b9ba424..7f8c0da 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -319,6 +319,7 @@ pub fn run( // Continuing after SIGTSTP or SIGSTOP. SIGCONT => { restore_after_suspend(&mut stdout)?; + layout.schedule_recalc(); force_redraw = true; } SIGWINCH => layout.schedule_recalc(),