Interface ExtensionTerminalOptions

Options a virtual process terminal.

interface ExtensionTerminalOptions {
    color?: ThemeColor;
    iconPath?: IconPath;
    isTransient?: boolean;
    location?: TerminalLocation | TerminalEditorLocationOptions | TerminalSplitLocationOptions;
    name: string;
    pty: Pseudoterminal;
}

Properties

color?: ThemeColor

The icon ThemeColor for the terminal. The standard terminal.ansi* theme keys are recommended for the best contrast and consistency across themes.

Stubbed

iconPath?: IconPath

The icon path or ThemeIcon for the terminal.

isTransient?: boolean

Opt-out of the default terminal persistence on restart and reload. This will only take effect when terminal.integrated.enablePersistentSessions is enabled.

name: string

The name of the terminal.

An implementation of Pseudoterminal where an extension can control it.