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 7e9d977 commit 558ccacCopy full SHA for 558ccac
src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.ts
@@ -203,7 +203,7 @@ export class PromptInputModel extends Disposable implements IPromptInputModel {
203
let ghostTextIndex = -1;
204
let proceedWithGhostTextCheck = false;
205
let x = buffer.cursorX;
206
- while (x > 1) {
+ while (x > 0) {
207
const cell = line.getCell(--x);
208
if (!cell) {
209
break;
0 commit comments