Merge branch 'master' into alexr00/ClearShouldClear

This commit is contained in:
Alex Ross
2018-10-16 12:21:00 +02:00
committed by GitHub
+1
View File
@@ -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);