We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a53aaa5 + 33ee08d commit 3edd2f2Copy full SHA for 3edd2f2
src/addons/search/SearchHelper.ts
@@ -205,6 +205,7 @@ export class SearchHelper implements ISearchHelper {
205
*/
206
private _selectResult(result: ISearchResult): boolean {
207
if (!result) {
208
+ this._terminal.clearSelection();
209
return false;
210
}
211
this._terminal._core.selectionManager.setSelection(result.col, result.row, result.term.length);
0 commit comments