Skip to content

Commit

Permalink
fix #134053
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge committed Oct 15, 2021
1 parent f2c4335 commit 0d1d04a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ export class TerminalGroupService extends Disposable implements ITerminalGroupSe
}

async showPanel(focus?: boolean): Promise<void> {
if (this.instances.length === 0) {
return;
}
const pane = this._viewsService.getActiveViewWithId(TERMINAL_VIEW_ID)
?? await this._viewsService.openView(TERMINAL_VIEW_ID, focus);
pane?.setExpanded(true);
Expand Down

0 comments on commit 0d1d04a

Please sign in to comment.