mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Enable Driver.Suspend for NetDriver using Unix.
This commit is contained in:
@@ -852,11 +852,25 @@ internal class NetDriver : ConsoleDriver
|
||||
{ }
|
||||
}
|
||||
|
||||
#region Not Implemented
|
||||
public override void Suspend ()
|
||||
{
|
||||
if (Environment.OSVersion.Platform != PlatformID.Unix)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
public override void Suspend () { throw new NotImplementedException (); }
|
||||
StopReportingMouseMoves ();
|
||||
|
||||
#endregion
|
||||
if (!RunningUnitTests)
|
||||
{
|
||||
Console.ResetColor ();
|
||||
Console.Clear ();
|
||||
Platform.Suspend ();
|
||||
Application.Refresh ();
|
||||
}
|
||||
|
||||
StartReportingMouseMoves ();
|
||||
}
|
||||
|
||||
public override void UpdateScreen ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user