Enable Driver.Suspend for NetDriver using Unix.

This commit is contained in:
BDisp
2024-05-30 13:37:18 +01:00
parent 1862ca71ae
commit 1e7263be73

View File

@@ -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 ()
{