Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Pseudoterminal

Defines the interface of a terminal pty, enabling extensions to control a terminal.

Hierarchy

  • Pseudoterminal

Index

Properties

Optional onDidClose

onDidClose: Event<number | void>

An event that when fired will close the pty.

Optional onDidOverrideDimensions

onDidOverrideDimensions: Event<undefined | TerminalDimensions>

An event that when fired allows resizing the terminal.

onDidWrite

onDidWrite: Event<string>

An event that when fired will write data to the terminal.

Methods

close

  • close(): void

Optional handleInput

  • handleInput(data: string): void

open

Optional setDimensions