Pseudoterminal$Typings extension

on

Properties

close ↔ void Function()
getter/setter pair
handleInput ↔ void Function(String)
getter/setter pair
onDidChangeName Event<String>?
An event that when fired allows changing the name of the terminal.
getter/setter pair
onDidClose Event<Object>?
An event that when fired will signal that the pty is closed and dispose of the terminal.
getter/setter pair
onDidOverrideDimensions Event<TerminalDimensions?>?
An event that when fired allows overriding the {@link Pseudoterminal.setDimensions dimensions} of the terminal. Note that when set, the overridden dimensions will only take effect when they are lower than the actual dimensions of the terminal (ie. there will never be a scroll bar). Set to undefined for the terminal to go back to the regular dimensions (fit to the size of the panel).
getter/setter pair
onDidWrite Event<String>
An event that when fired will write data to the terminal. Unlike {@link Terminal.sendText} which sends text to the underlying child pseudo-device (the child), this will write the text to parent pseudo-device (the terminal itself).
getter/setter pair
open ↔ void Function([TerminalDimensions?])
getter/setter pair
setDimensions ↔ void Function(TerminalDimensions)
getter/setter pair