You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test this new extension API by checking Terminal.exitStatus.reason after exiting a terminal in different ways. The terminal doesn't necessarily need to be created by an extension
declare module 'vscode'{// https://github.com/microsoft/vscode/issues/130231/** * Terminal exit reason kind. */exportenumTerminalExitReason{/** * Unknow reason. */Unknown=0,/** * The window closed/reloaded. */Shutdown=1,/** * The shell process exited. */Process=2,/** * The user closed the terminal. */User=3,/** * An extension disposed the terminal. */Extension=4,}exportinterfaceTerminalExitStatus{/** * The reason that triggered the exit of a terminal. */readonlyreason: TerminalExitReason;}}
The text was updated successfully, but these errors were encountered:
Refs: #130231
Complexity: 2
Authors: @Tyriar, @meganrogge
Create Issue
Test this new extension API by checking
Terminal.exitStatus.reason
after exiting a terminal in different ways. The terminal doesn't necessarily need to be created by an extensionThe text was updated successfully, but these errors were encountered: