Skip to content

Commit

Permalink
create or get active instance for show terminal accessibility help (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge committed Jan 31, 2023
1 parent f6e1011 commit ab162ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/vs/workbench/contrib/terminal/browser/terminalService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,10 @@ export class TerminalService implements ITerminalService {
}

showTerminalAccessibilityHelp(): void {
this.activeInstance?.showAccessibilityHelp();
this.getActiveOrCreateInstance().then((instance) => {
this._terminalGroupService.showPanel();
instance.showAccessibilityHelp();
});
}

requestStartExtensionTerminal(proxy: ITerminalProcessExtHostProxy, cols: number, rows: number): Promise<ITerminalLaunchError | undefined> {
Expand Down

0 comments on commit ab162ad

Please sign in to comment.