diff --git a/docs/changelog.md b/docs/changelog.md index 11078f171..52ecb4fce 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -34,6 +34,7 @@ As features stabilize some brief notes about them will accumulate here. * macOS: numeric keypad enter generated CTRL-C instead of enter. Regression of [#739](https://github.com/wez/wezterm/issues/739). [#2204](https://github.com/wez/wezterm/issues/2204) * Wayland: inconsistent pasting. Thanks to [@Funami580](https://github.com/Funami580)! [#2225](https://github.com/wez/wezterm/issues/2225) [#2226](https://github.com/wez/wezterm/pulls/2226) * 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) #### Updated * Bundled harfbuzz to 4.4.1 diff --git a/wezterm-gui/src/termwindow/resize.rs b/wezterm-gui/src/termwindow/resize.rs index 81841598c..f123a0490 100644 --- a/wezterm-gui/src/termwindow/resize.rs +++ b/wezterm-gui/src/termwindow/resize.rs @@ -111,6 +111,8 @@ impl super::TermWindow { if let Err(err) = self.recreate_texture_atlas(None) { log::error!("recreate_texture_atlas: {:#}", err); } + self.invalidate_fancy_tab_bar(); + self.invalidate_modal(); } pub fn apply_dimensions(