terminal should not use panelService for showing

This commit is contained in:
SteVen Batten 2020-03-27 11:28:57 -04:00
parent 4a651127ff
commit 0693d298a9

View file

@ -466,7 +466,7 @@ export class TerminalService implements ITerminalService {
public async showPanel(focus?: boolean): Promise<void> {
const pane = this._viewsService.getActiveViewWithId(TERMINAL_VIEW_ID) as TerminalViewPane;
if (!pane) {
await this._panelService.openPanel(TERMINAL_VIEW_ID, focus);
await this._viewsService.openView(TERMINAL_VIEW_ID, focus);
}
if (focus) {
// Do the focus call asynchronously as going through the