1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 06:12:16 +03:00

tab bar: default mouse coords outside of view

This helps to prevent a spurious hover styled tab caption being rendered
in some cases.
This commit is contained in:
Wez Furlong 2019-11-21 00:11:51 -08:00
parent ac7a509dbb
commit c6b62d8055

View File

@ -382,7 +382,7 @@ impl TermWindow {
keys: KeyMap::new(),
show_tab_bar: config.enable_tab_bar,
tab_bar: TabBarState::default(),
last_mouse_coords: (0, 0),
last_mouse_coords: (0, -1),
}),
)?;