Class FakeDriver | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Implements a mock IConsoleDriver for unit testing
public class FakeDriver : ConsoleDriver, IConsoleDriver
Inheritance
FakeDriver
Implements
Inherited Members
ConsoleDriver.GetVersionInfo()
ConsoleDriver.IsRuneSupported(Rune)
ConsoleDriver.IsValidLocation(int, int)
ConsoleDriver.FillRect(Rectangle, Rune)
ConsoleDriver.SetContentsAsDirty()
ConsoleDriver.FillRect(Rectangle, char)
ConsoleDriver.IsValidLocation(Rune, int, int)
ConsoleDriver.OnSizeChanged(SizeChangedEventArgs)
ConsoleDriver.CurrentAttribute
ConsoleDriver.SetAttribute(Attribute)
ConsoleDriver.MakeColor(in Color, in Color)
ConsoleDriver.OnMouseEvent(MouseEventArgs)
ConsoleDriver.QueueAnsiRequest(AnsiEscapeSequenceRequest)
ConsoleDriver.GetRequestScheduler()
object.ReferenceEquals(object, object)
Constructors
Fields
Properties
Gets whether the IConsoleDriver supports TrueColor output.
Methods
Ends the execution of the console driver.
GetCursorVisibility(out CursorVisibility)
Gets the terminal cursor visibility.
Initializes the driver
SendKeys(char, ConsoleKey, bool, bool, bool)
Simulates a key press.
SetCursorVisibility(CursorVisibility)
Sets the terminal cursor visibility.
Suspends the application (e.g. on Linux via SIGTSTP) and upon resume, resets the console driver.
Sets the position of the terminal cursor to Col and Row.
Redraws the physical screen with the contents that have been queued up via any of the printing commands.
Provide proper writing to send escape sequence recognized by the ConsoleDriver.