ExtensionTerminalOptions class

Value-object describing what options a virtual process terminal should use.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

ExtensionTerminalOptions({String? name, Pseudoterminal? pty, Object? iconPath, ThemeColor? color, Object? location, bool? isTransient})
factory

Properties

color ThemeColor?

Available on ExtensionTerminalOptions, provided by the ExtensionTerminalOptions$Typings extension

The icon {@link ThemeColor} for the terminal. The standard terminal.ansi* theme keys are recommended for the best contrast and consistency across themes.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iconPath Object?

Available on ExtensionTerminalOptions, provided by the ExtensionTerminalOptions$Typings extension

The icon path or {@link ThemeIcon} for the terminal.
getter/setter pair
isTransient bool?

Available on ExtensionTerminalOptions, provided by the ExtensionTerminalOptions$Typings extension

Opt-out of the default terminal persistence on restart and reload. This will only take effect when terminal.integrated.enablePersistentSessions is enabled.
getter/setter pair
location Object?

Available on ExtensionTerminalOptions, provided by the ExtensionTerminalOptions$Typings extension

The {@link TerminalLocation} or {@link TerminalEditorLocationOptions} or {@link TerminalSplitLocationOptions} for the terminal.
getter/setter pair
name String

Available on ExtensionTerminalOptions, provided by the ExtensionTerminalOptions$Typings extension

A human-readable string which will be used to represent the terminal in the UI.
getter/setter pair
pty Pseudoterminal

Available on ExtensionTerminalOptions, provided by the ExtensionTerminalOptions$Typings extension

An implementation of {@link Pseudoterminal} that allows an extension to control a terminal.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited