revert a breaking change

This commit is contained in:
meganrogge
2022-03-21 13:35:56 -04:00
parent b9331ec810
commit 4cea6b3f41
@@ -169,9 +169,6 @@ export class SearchAddon implements ITerminalAddon {
currentSelection = this._terminal.getSelectionPosition()!;
startRow = incremental ? currentSelection.startRow : currentSelection.endRow;
startCol = incremental ? currentSelection.startColumn : currentSelection.endColumn;
} else if (!startRow) {
startRow = this._terminal.buffer.active.cursorY;
startCol = this._terminal.buffer.active.cursorX;
}
this._initLinesCache();