Skip to content

Commit 831ac95

Browse files
authored
Fix rendering of auto-executing slash commands in requests (microsoft#189068)
1 parent df16c16 commit 831ac95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorContrib.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ class SlashCommandCompletions extends Disposable {
234234
range: new Range(1, 1, 1, 1),
235235
sortText: c.sortText ?? c.command,
236236
kind: CompletionItemKind.Text, // The icons are disabled here anyway,
237-
command: c.executeImmediately ? { id: SubmitAction.ID, title: withSlash, arguments: [{ widget, inputValue: withSlash }] } : undefined,
237+
command: c.executeImmediately ? { id: SubmitAction.ID, title: withSlash, arguments: [{ widget, inputValue: `${withSlash} ` }] } : undefined,
238238
};
239239
})
240240
};

0 commit comments

Comments
 (0)