Skip to content

Commit

Permalink
Fix incremental search
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyriar committed Dec 26, 2018
1 parent bb97325 commit 204e42a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/addons/search/SearchHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ export class SearchHelper implements ISearchHelper {
// For incremental search, use existing row
if (this._terminal.getSelection().length !== 0) {
startRow = incremental ? selectionManager.selectionStart[1] : selectionManager.selectionEnd[1];
// TODO: Fix for incremental
startCol = this._terminal._core.selectionManager.selectionEnd[0];
startCol = incremental ? selectionManager.selectionStart[0] : selectionManager.selectionEnd[0];
}
}

Expand Down

0 comments on commit 204e42a

Please sign in to comment.