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 2c9202a commit b7b8b9dCopy full SHA for b7b8b9d
src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.ts
@@ -148,7 +148,7 @@ export class PromptInputModel extends Disposable implements IPromptInputModel {
148
this._cursorIndex = -1;
149
this._ghostTextIndex = -1;
150
const event = this._createStateObject();
151
- if (this._lastUserInput !== '\u0003') {
+ if (this._lastUserInput === '\u0003') {
152
this._onDidInterrupt.fire(event);
153
}
154
0 commit comments