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 6ca26d9 commit a3d842eCopy full SHA for a3d842e
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 !== undefined) {
+ if (currentCommand.commandStartX !== undefined) {
104
this._currentCommand = commandLine.substring(currentCommand.commandStartX);
105
this._cursorX = buffer.cursorX - currentCommand.commandStartX;
106
} else {
0 commit comments