Skip to content

Commit

Permalink
fix #239249
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge committed Jan 31, 2025
1 parent e7415f5 commit 84156a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/terminal-suggest/src/terminalSuggestMain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 84156a5

Please sign in to comment.