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 414606b + a3d842e commit 3cd6f48Copy full SHA for 3cd6f48
src/vs/workbench/contrib/terminalContrib/accessibility/browser/textAreaSyncAddon.ts
@@ -100,7 +100,7 @@ export class TextAreaSyncAddon extends Disposable implements ITerminalAddon {
100
this._logService.debug(`TextAreaSyncAddon#updateCommandAndCursor: no line`);
101
return;
102
}
103
- if (!!currentCommand.commandStartX) {
+ if (currentCommand.commandStartX !== undefined) {
104
this._currentCommand = commandLine.substring(currentCommand.commandStartX);
105
this._cursorX = buffer.cursorX - currentCommand.commandStartX;
106
} else {
0 commit comments