mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 00:07:58 +01:00
Cherry picked new Mouse Scenario
This commit is contained in:
@@ -2128,6 +2128,9 @@ internal class WindowsMainLoop : IMainLoopDriver
|
||||
|
||||
void IMainLoopDriver.TearDown ()
|
||||
{
|
||||
// Eat any outstanding events
|
||||
//var r = _winConsole.ReadConsoleInput ();
|
||||
|
||||
_inputHandlerTokenSource?.Cancel ();
|
||||
_inputHandlerTokenSource?.Dispose ();
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ public class Mouse : Scenario
|
||||
{
|
||||
public override void Main ()
|
||||
{
|
||||
Application.Init ();
|
||||
Window win = new ()
|
||||
{
|
||||
Title = $"{Application.QuitKey} to Quit - Scenario: {GetName ()}",
|
||||
|
||||
Reference in New Issue
Block a user