Options to create terminal widget.
Terminal attributes. Can be useful to apply some implementation specific information.
The icon ThemeColor for the terminal.
terminal.ansi* theme keys are
recommended for the best contrast and consistency across themes.
Current working directory.
Environment variables for terminal in format key - value.
When enabled the terminal will run the process as normal but not be surfaced to the user
Terminal.show is called. The typical usage for this is when you need to run
something that may need interactivity but only want to tell the user about it when
interaction is needed. Note that the terminals will still be exposed to all extensions
The icon path or ThemeIcon for the terminal.
Opt-out of the default terminal persistence on restart and reload.
This will only take effect when
terminal.integrated.enablePersistentSessions is enabled.
A message to write to the terminal on first launch. Note that this is not sent to the process, but rather written directly to the terminal. This supports escape sequences such as setting text style.
Human readable representation of the terminal in the UI.
Args for the custom shell executable. A string can be used on Windows only which allows specifying shell args in command-line format.
Path to the executable shell. For example "/bin/bash", "bash", "sh".
Whether the terminal process environment should be exactly as provided in
TerminalOptions.env. When this is false (default), the environment will be based on the
window's environment and also apply configured platform settings like
terminal.integrated.windows.env on top. When this is true, the complete environment
must be provided as nothing will be inherited from the process or any configuration.