From 84156a5e5383f3d095edf4fb76774d5479be272f Mon Sep 17 00:00:00 2001 From: Megan Rogge Date: Fri, 31 Jan 2025 15:48:10 -0600 Subject: [PATCH] fix #239249 --- extensions/terminal-suggest/src/terminalSuggestMain.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/terminal-suggest/src/terminalSuggestMain.ts b/extensions/terminal-suggest/src/terminalSuggestMain.ts index db52610be6c9f..69d474247fed7 100644 --- a/extensions/terminal-suggest/src/terminalSuggestMain.ts +++ b/extensions/terminal-suggest/src/terminalSuggestMain.ts @@ -355,7 +355,7 @@ export async function getCompletionItemsFromSpecs( continue; } - if (!terminalContext.commandLine.startsWith(specLabel)) { + if (!terminalContext.commandLine.startsWith(`${specLabel} `)) { // the spec label is not the first word in the command line, so do not provide options or args continue; }