1
1
mirror of https://github.com/wez/wezterm.git synced 2024-10-28 09:22:19 +03:00

right clicking on a tab shows the tab navigator

This commit is contained in:
Wez Furlong 2020-03-01 16:44:36 -08:00
parent fa0fd37f21
commit 53055c2dda

View File

@ -2532,6 +2532,12 @@ impl TermWindow {
}
TabBarItem::NewTabButton | TabBarItem::None => {}
},
WMEK::Press(MousePress::Right) => match self.tab_bar.hit_test(x) {
TabBarItem::Tab(_) => {
self.show_tab_navigator();
}
TabBarItem::NewTabButton | TabBarItem::None => {}
},
_ => {}
}
self.update_title();