Method Init | Terminal.Gui v1 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Init(ConsoleDriver, IMainLoopDriver)
Initializes a new instance of Terminal.Gui Application.
public static void Init(ConsoleDriver driver = null, IMainLoopDriver mainLoopDriver = null)
Parameters
driver
ConsoleDriver
The ConsoleDriver to use. If not specified the default driver for the platform will be used (see WindowsDriver, CursesDriver, and NetDriver).
mainLoopDriver
IMainLoopDriver
Specifies the MainLoop to use. Must not be null if driver
is not null.