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 de1b891 commit f28c508Copy full SHA for f28c508
src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.ts
@@ -114,6 +114,8 @@ export class PromptInputModel extends Disposable implements IPromptInputModel {
114
setConfidentCommandLine(value: string): void {
115
if (this._value !== value) {
116
this._value = value;
117
+ this._cursorIndex = -1;
118
+ this._ghostTextIndex = -1;
119
this._onDidChangeInput.fire(this._createStateObject());
120
}
121
@@ -159,7 +161,6 @@ export class PromptInputModel extends Disposable implements IPromptInputModel {
159
161
this._onDidInterrupt.fire(event);
160
162
163
-
164
this._state = PromptInputState.Execute;
165
this._onDidFinishInput.fire(event);
166
this._onDidChangeInput.fire(event);
0 commit comments