Skip to content

Commit b78f20b

Browse files
authored
Merge pull request microsoft#210564 from microsoft/tyriar/210562
Fix condition to hide terminal suggest
2 parents f1c978d + 0aa3419 commit b78f20b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalSuggestAddon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ export class SuggestAddon extends Disposable implements ITerminalAddon, ISuggest
456456
}
457457

458458
// Hide and clear model if there are no more items
459-
if (!this._suggestWidget?.hasCompletions() || !nonUserInput) {
459+
if (!this._suggestWidget?.hasCompletions() || nonUserInput) {
460460
this._additionalInput = undefined;
461461
this.hideSuggestWidget();
462462
// TODO: Don't request every time; refine completions

0 commit comments

Comments
 (0)