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.
2 parents 0b25736 + ed73092 commit 9b8f8c2Copy full SHA for 9b8f8c2
src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.ts
@@ -56,8 +56,11 @@ export class NoneExecuteStrategy implements ITerminalExecuteStrategy {
56
}));
57
58
// Execute the command
59
+ // IMPORTANT: This uses `sendText` not `runCommand` since when no shell integration
60
+ // is used as sending ctrl+c before a shell is initialized (eg. PSReadLine) can result
61
+ // in failure (https://github.com/microsoft/vscode/issues/258989)
62
this._log(`Executing command line \`${commandLine}\``);
- this._instance.runCommand(commandLine, true);
63
+ this._instance.sendText(commandLine, true);
64
65
// Assume the command is done when it's idle
66
this._log('Waiting for idle');
0 commit comments