1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-26 16:34:23 +03:00

Remove reserved space in full screen

Signed-off-by: Ye Sijun <junnplus@gmail.com>
This commit is contained in:
Ye Sijun 2023-05-02 18:15:05 +09:00 committed by Wez Furlong
parent 73c8bbb8e0
commit e3ccf2eacc

View File

@ -311,6 +311,7 @@ impl crate::TermWindow {
.window_decorations
.contains(::window::WindowDecorations::INTEGRATED_BUTTONS)
&& self.config.integrated_title_button_style == IntegratedTitleButtonStyle::MacOsNative
&& !self.window_state.contains(window::WindowState::FULL_SCREEN)
{
left_status.push(
Element::new(&font, ElementContent::Text("".to_string())).margin(BoxDimension {