From 39e727db5831e624a68eeb4592aa145cdd98af1a Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 9 Jul 2022 10:45:43 -0700 Subject: [PATCH] tab bar: invalidate on resize to avoid gaps on the RHS --- docs/changelog.md | 1 + wezterm-gui/src/termwindow/resize.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index 0e62b878e..d0eeb8d05 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -37,6 +37,7 @@ As features stabilize some brief notes about them will accumulate here. * win32 input mode: fixed encoding of backspace and delete keys. Thanks to [@kreudom](https://github.com/kreudom)! [#2233](https://github.com/wez/wezterm/pull/2233) * Tab bar could glitch and show incorrect contents when adjusting for monitor or changed font scaling [#2208](https://github.com/wez/wezterm/issues/2208) * Wayland: transparent gap under tab bar when window is transparent, split and using per-pane color schemes [#1620](https://github.com/wez/wezterm/issues/1620) +* Tab bar could show a gap to the right when resizing #### Updated * Bundled harfbuzz to 4.4.1 diff --git a/wezterm-gui/src/termwindow/resize.rs b/wezterm-gui/src/termwindow/resize.rs index f123a0490..7c0462136 100644 --- a/wezterm-gui/src/termwindow/resize.rs +++ b/wezterm-gui/src/termwindow/resize.rs @@ -260,6 +260,7 @@ impl super::TermWindow { tab.resize(size); } }; + self.invalidate_fancy_tab_bar(); self.update_title(); // Queue up a speculative resize in order to preserve the number of rows+cols