mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Fixed the case that, if findPrevious is run without any selection, then start scan at the last row
This commit is contained in:
@@ -115,7 +115,7 @@ export class SearchHelper implements ISearchHelper {
|
||||
}
|
||||
|
||||
const isReverseSearch = true;
|
||||
let startRow = this._terminal._core.buffer.ydisp;
|
||||
let startRow = this._terminal.rows-1;
|
||||
let startCol: number = this._terminal.cols;
|
||||
|
||||
if (selectionManager.selectionStart) {
|
||||
|
||||
Reference in New Issue
Block a user