Skip to content

Commit

Permalink
Merge pull request #1756 from skprabhanjan/fix-1750
Browse files Browse the repository at this point in the history
Fixes-1750
  • Loading branch information
Tyriar committed Oct 15, 2018
2 parents 37972aa + f61ba95 commit 33ee08d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/addons/search/SearchHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ export class SearchHelper implements ISearchHelper {
*/
private _selectResult(result: ISearchResult): boolean {
if (!result) {
this._terminal.clearSelection();
return false;
}
this._terminal._core.selectionManager.setSelection(result.col, result.row, result.term.length);
Expand Down

0 comments on commit 33ee08d

Please sign in to comment.