Method Init
Init(ConsoleDriver, IMainLoopDriver)
Initializes a new instance of Terminal.Gui Application.
public static void Init(ConsoleDriver driver = null, IMainLoopDriver mainLoopDriver = null)
Parameters
driverConsoleDriverThe ConsoleDriver to use. If not specified the default driver for the platform will be used (see Terminal.Gui.WindowsDriver, Terminal.Gui.CursesDriver, and Terminal.Gui.NetDriver).
mainLoopDriverIMainLoopDriverSpecifies the MainLoop to use. Must not be null if
driveris not null.