tab bar: set mouse to arrow when in tab bar
This commit is contained in:
1 parent
c6b62d8055
commit
371e07838d
1 file changed
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user