Skip to content

Commit 3edd2f2

Browse files
authored
Merge branch 'master' into 1757_cjk_glyph_key
2 parents a53aaa5 + 33ee08d commit 3edd2f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/addons/search/SearchHelper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ export class SearchHelper implements ISearchHelper {
205205
*/
206206
private _selectResult(result: ISearchResult): boolean {
207207
if (!result) {
208+
this._terminal.clearSelection();
208209
return false;
209210
}
210211
this._terminal._core.selectionManager.setSelection(result.col, result.row, result.term.length);

0 commit comments

Comments
 (0)