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 1324426 commit e5b980dCopy full SHA for e5b980d
src/vs/workbench/contrib/terminal/browser/terminalInstance.ts
@@ -1216,7 +1216,9 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
1216
this._onDidInputData.fire(this);
1217
this._onDidSendText.fire(text);
1218
this.xterm?.scrollToBottom();
1219
- this._onDidRunText.fire();
+ if (shouldExecute) {
1220
+ this._onDidRunText.fire();
1221
+ }
1222
}
1223
1224
async sendPath(originalPath: string | URI, shouldExecute: boolean): Promise<void> {
0 commit comments