diff --git a/mux/src/window.rs b/mux/src/window.rs index 84205741f4a..a086e3a3191 100644 --- a/mux/src/window.rs +++ b/mux/src/window.rs @@ -131,6 +131,8 @@ impl Window { if len > 0 && self.active >= len { self.set_active_without_saving(len - 1); + } else { + self.invalidate(); } }