We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4cd212 commit b038608Copy full SHA for b038608
extensions/cli/src/ui/UserInput.tsx
@@ -468,7 +468,13 @@ const UserInput: React.FC<UserInputProps> = ({
468
// select and submit the command
469
const commandText = "/" + commandName;
470
inputHistory.addEntry(commandText);
471
- onSubmit(commandText);
+
472
+ // queue up when responding/generating
473
+ if (!isRemoteMode && (isWaitingForResponse || isCompacting)) {
474
+ void messageQueue.enqueueMessage(commandText);
475
+ } else {
476
+ onSubmit(commandText);
477
+ }
478
479
// reset after submitting command
480
textBuffer.clear();
0 commit comments