diff --git a/addons/xterm-addon-search/src/SearchAddon.ts b/addons/xterm-addon-search/src/SearchAddon.ts index fa473a71b..e22c8b7c8 100644 --- a/addons/xterm-addon-search/src/SearchAddon.ts +++ b/addons/xterm-addon-search/src/SearchAddon.ts @@ -110,7 +110,6 @@ export class SearchAddon implements ITerminalAddon { } } - if (!result && currentSelection) return true; // If there is only one result, wrap back and return selection if exists. if (!result && currentSelection) { searchPosition.startRow = currentSelection.startRow;