Skip to content

Commit

Permalink
fix windows terminal hint not showing up (#213695)
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge authored May 28, 2024
1 parent f47d99e commit c5b77f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class TerminalInitialHintContribution extends Disposable implements ITerm
private _createHint(): void {
const instance = this._instance instanceof TerminalInstance ? this._instance : undefined;
const commandDetectionCapability = instance?.capabilities.get(TerminalCapability.CommandDetection);
if (!instance || !this._xterm || this._hintWidget || !commandDetectionCapability || commandDetectionCapability?.hasInput || instance.reconnectionProperties) {
if (!instance || !this._xterm || this._hintWidget || !commandDetectionCapability || commandDetectionCapability.promptInputModel.value || instance.reconnectionProperties) {
return;
}

Expand Down

0 comments on commit c5b77f3

Please sign in to comment.