True if this terminal is still open.
Once the uesr closes a terminal tab and the tab disappears, then this will return false
.
Show a list picker requesting an item from the list.
This shows the given list of strings and lets the user select one or
them or cancel the picker. The index of the item in the list is return
if an item is selected. undefined
is returned if the user canceled the
picker by pressing escape, for example. The picker appears with in this
tab.
See ListPickerOptions
for more details about how to configure this.
a promise which resolves to the selected item index or undefined if it was canceled.
Show an input box requesting a number.
This shows a picker/dialog on this tab where the user can enter a number.
The acceptable range of values can be defined in the options
parameter.
undefined
is returned if the user canceled the picker by pressing
escape, for example. The picker appears with in this tab.
See NumberInputOptions
for more details about how to configure this.
a promise which resolves to the entered number or undefined if it was canceled.
Generated using TypeDoc
Get any terminal contained inside this tab.