Terminal.title

Sets the console's title. The original title is usually restored when the program's execution ends.

  1. string title [@property getter]
  2. string title [@property setter]
    class Terminal
    @property
    string
    title
    (
    string title
    )

Return Value

Type: string

The console's title. On Windows it may be cropped if its length exceeds MAX_PATH.

Examples

terminal.title = "Custom Title";

Meta