Table of Contents

Method SetTerminalTitle

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

SetTerminalTitle(string, int)

Sets the terminal title using OSC 0..2.

void SetTerminalTitle(string title, int mode = 0)

Parameters

title string

The title text.

mode int

The OSC title selector: 0 = icon and window title, 1 = icon title, 2 = window title.