mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
terminal should not use panelService for showing
This commit is contained in:
parent
4a651127ff
commit
0693d298a9
|
@ -466,7 +466,7 @@ export class TerminalService implements ITerminalService {
|
||||||
public async showPanel(focus?: boolean): Promise<void> {
|
public async showPanel(focus?: boolean): Promise<void> {
|
||||||
const pane = this._viewsService.getActiveViewWithId(TERMINAL_VIEW_ID) as TerminalViewPane;
|
const pane = this._viewsService.getActiveViewWithId(TERMINAL_VIEW_ID) as TerminalViewPane;
|
||||||
if (!pane) {
|
if (!pane) {
|
||||||
await this._panelService.openPanel(TERMINAL_VIEW_ID, focus);
|
await this._viewsService.openView(TERMINAL_VIEW_ID, focus);
|
||||||
}
|
}
|
||||||
if (focus) {
|
if (focus) {
|
||||||
// Do the focus call asynchronously as going through the
|
// Do the focus call asynchronously as going through the
|
||||||
|
|
Loading…
Reference in a new issue