mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Added AdvancingFocus events.
This commit is contained in:
@@ -60,13 +60,6 @@ public class NavigationTests (ITestOutputHelper _output) : TestsAllViews
|
||||
case TabBehavior.NoStop:
|
||||
case TabBehavior.TabGroup:
|
||||
Application.OnKeyDown (key);
|
||||
|
||||
if (view.HasFocus)
|
||||
{
|
||||
// Try once more (HexView)
|
||||
Application.OnKeyDown (key);
|
||||
}
|
||||
|
||||
break;
|
||||
default:
|
||||
Application.OnKeyDown (Key.Tab);
|
||||
@@ -78,12 +71,11 @@ public class NavigationTests (ITestOutputHelper _output) : TestsAllViews
|
||||
{
|
||||
left = true;
|
||||
_output.WriteLine ($"{view.GetType ().Name} - {key} Left.");
|
||||
view.SetFocus ();
|
||||
}
|
||||
else
|
||||
{
|
||||
_output.WriteLine ($"{view.GetType ().Name} - {key} did not Leave.");
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
_output.WriteLine ($"{view.GetType ().Name} - {key} did not Leave.");
|
||||
}
|
||||
|
||||
top.Dispose ();
|
||||
|
||||
Reference in New Issue
Block a user