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
{{ message }}
Repository navigation
Test: New Integrated Terminal Proposed APIs #48434
declare module 'vscode'{exportnamespacewindow{/** * The currently active terminals or an empty array. * * @readonly */exportletterminals: Terminal[];/** * An [event](#Event) which fires when a terminal has been created, either through the * [createTerminal](#window.createTerminal) API or commands. */exportconstonDidOpenTerminal: Event<Terminal>;}exportinterfaceTerminal{onData: Event<string>;}}
John Chijioke (@johnbendi) active here is used differently to elsewhere, I'll change the wording. There is no way to get the currently active terminal right now, there's no issue tracking this either to my knowledge.
Activity
johnbendi commentedon May 31, 2018
Daniel Imms (@Tyriar) is there a
getActiveTerminalapi or some such?Also can there really be a list of active terminals? I assumed that only one terminal can be active at a time.
Tyriar commentedon May 31, 2018
John Chijioke (@johnbendi) active here is used differently to elsewhere, I'll change the wording. There is no way to get the currently active terminal right now, there's no issue tracking this either to my knowledge.
Remove inconsistent use of active in terminal API