Table of Contents

Method Init

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Init(IConsoleDriver?, string?)

Initializes a new instance of Terminal.Gui Application.

public static void Init(IConsoleDriver? driver = null, string? driverName = null)

Parameters

driver IConsoleDriver

The IConsoleDriver to use. If neither driver or driverName are specified the default driver for the platform will be used.

driverName string

The short name (e.g. "net", "windows", "ansi", "fake", or "curses") of the IConsoleDriver to use. If neither driver or driverName are specified the default driver for the platform will be used.