Use API clearSelection in search addon
This commit is contained in:
@@ -40,7 +40,7 @@ export class SearchHelper implements ISearchHelper {
|
|||||||
let result: ISearchResult;
|
let result: ISearchResult;
|
||||||
|
|
||||||
if (!term || term.length === 0) {
|
if (!term || term.length === 0) {
|
||||||
selectionManager.clearSelection();
|
this._terminal.clearSelection();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -113,7 +113,7 @@ export class SearchHelper implements ISearchHelper {
|
|||||||
let result: ISearchResult;
|
let result: ISearchResult;
|
||||||
|
|
||||||
if (!term || term.length === 0) {
|
if (!term || term.length === 0) {
|
||||||
selectionManager.clearSelection();
|
this._terminal.clearSelection();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user