We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a30e9e commit 684fb19Copy full SHA for 684fb19
Terminal.Gui/Views/TabView/TabRowView.cs
@@ -64,11 +64,6 @@ protected override bool OnMouseEvent (MouseEventArgs me)
64
return false;
65
}
66
67
- if (!HasFocus && CanFocus)
68
- {
69
- SetFocus ();
70
- }
71
-
72
if (me.IsSingleDoubleOrTripleClicked)
73
{
74
var scrollIndicatorHit = 0;
Terminal.Gui/Views/TabView/TabView.cs
@@ -518,6 +518,10 @@ internal IEnumerable<Tab> CalculateViewport (Rectangle bounds)
518
519
SelectedTab?.SetFocus ();
520
521
+ else
522
+ {
523
+ SelectedTab?.View?.SetFocus ();
524
+ }
525
526
527
/// <summary>
0 commit comments