Use API clearSelection in search addon

This commit is contained in:
Daniel Imms
2019-05-11 23:22:46 -07:00
parent 780e924b21
commit 161c7f9339
+2 -2
View File
@@ -40,7 +40,7 @@ export class SearchHelper implements ISearchHelper {
let result: ISearchResult;
if (!term || term.length === 0) {
selectionManager.clearSelection();
this._terminal.clearSelection();
return false;
}
@@ -113,7 +113,7 @@ export class SearchHelper implements ISearchHelper {
let result: ISearchResult;
if (!term || term.length === 0) {
selectionManager.clearSelection();
this._terminal.clearSelection();
return false;
}