Skip to content

Commit

Permalink
Add _ prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyriar authored Oct 31, 2023
1 parent b40adad commit 5f7ea17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vs/workbench/contrib/terminal/browser/terminalView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export class TerminalViewPane extends ViewPane {
this._register(this.onDidChangeBodyVisibility(async visible => {
this._viewShowing.set(visible);
if (visible) {
if (this.hasWelcomeScreen()) {
if (this._hasWelcomeScreen()) {
this._onDidChangeViewWelcomeState.fire();
}
this._initializeTerminal(false);
Expand Down Expand Up @@ -323,12 +323,12 @@ export class TerminalViewPane extends ViewPane {
}
}

private hasWelcomeScreen(): boolean {
private _hasWelcomeScreen(): boolean {
return !this._terminalService.isProcessSupportRegistered;
}

override shouldShowWelcome(): boolean {
return this.hasWelcomeScreen() && this._terminalService.instances.length === 0;
return this._hasWelcomeScreen() && this._terminalService.instances.length === 0;
}
}

Expand Down

0 comments on commit 5f7ea17

Please sign in to comment.