Skip to content

Commit d4f061d

Browse files
committed
Enable wheel to allow focus.
1 parent 684fb19 commit d4f061d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Terminal.Gui/Views/TabView/TabRowView.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ protected override bool OnMouseEvent (MouseEventArgs me)
5959
}
6060
}
6161

62+
if (me.IsWheel && !HasFocus && CanFocus)
63+
{
64+
SetFocus ();
65+
}
66+
6267
if (!me.IsSingleDoubleOrTripleClicked)
6368
{
6469
return false;

0 commit comments

Comments
 (0)