tab bar: set mouse to arrow when in tab bar

This commit is contained in:
Wez Furlong committed 2019-11-21 07:08:31 -08:00
1 parent c6b62d8055
commit 371e07838d
1 file changed
+3 -1
+3 -1
View File
@@ -197,7 +197,9 @@ impl WindowCallbacks for TermWindow {
// When hovering over a hyperlink, show an appropriate
// mouse cursor to give the cue that it is clickable
context.set_cursor(Some(if tab.renderer().current_highlight().is_some() {
context.set_cursor(Some(if self.show_tab_bar && y == 0 {
MouseCursor::Arrow
} else if tab.renderer().current_highlight().is_some() {
MouseCursor::Hand
} else {
MouseCursor::Text