right clicking on a tab shows the tab navigator

This commit is contained in:
Wez Furlong committed 2020-03-01 16:44:36 -08:00
1 parent fa0fd37f21
commit 53055c2dda
1 file changed
+6
+6
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();