mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
revert a breaking change
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user