Browse Source

Enable wheel to allow focus.

BDisp 8 months ago
parent
commit
d4f061d4e8
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Terminal.Gui/Views/TabView/TabRowView.cs

+ 5 - 0
Terminal.Gui/Views/TabView/TabRowView.cs

@@ -59,6 +59,11 @@ internal class TabRowView : View
             }
         }
 
+        if (me.IsWheel && !HasFocus && CanFocus)
+        {
+            SetFocus ();
+        }
+
         if (!me.IsSingleDoubleOrTripleClicked)
         {
             return false;