Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Terminal

Definition of the terminal emulator.

Hierarchy

  • Terminal

Index

Properties

Methods

Properties

name

name: string

Human readable representation of the terminal in the UI.

processId

processId: PromiseLike<number>

Terminal id.

Methods

dispose

  • dispose(): void

hide

  • hide(): void

sendText

  • sendText(text: string, addNewLine?: boolean): void
  • Send text to the terminal.

    Parameters

    • text: string

      text content.

    • Optional addNewLine: boolean

      in case true - apply new line after the text, otherwise don't apply new line. This defaults to true.

    Returns void

show

  • show(preserveFocus?: boolean): void
  • Show created terminal on the UI.

    Parameters

    • Optional preserveFocus: boolean

      in case true - set up focus on the terminal widget, otherwise show terminal without focus.

    Returns void