@xterm/addon-search 0.17.0-beta.117 → 0.17.0-beta.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xterm/addon-search",
|
|
3
|
-
"version": "0.17.0-beta.
|
|
3
|
+
"version": "0.17.0-beta.118",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "The xterm.js authors",
|
|
6
6
|
"url": "https://xtermjs.org/"
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"prepublishOnly": "npm run package",
|
|
22
22
|
"start": "node ../../demo/start"
|
|
23
23
|
},
|
|
24
|
-
"commit": "
|
|
24
|
+
"commit": "8eed7b416382ff3b84a2ebdab6c1d6be2136a1ae",
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@xterm/xterm": "^6.1.0-beta.
|
|
26
|
+
"@xterm/xterm": "^6.1.0-beta.118"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/src/SearchEngine.ts
CHANGED
|
@@ -198,9 +198,7 @@ export class SearchEngine {
|
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
|
|
202
|
-
result = this._findInLine(term, searchPosition, searchOptions, isReverseSearch);
|
|
203
|
-
}
|
|
201
|
+
result ??= this._findInLine(term, searchPosition, searchOptions, isReverseSearch);
|
|
204
202
|
|
|
205
203
|
// Search from startRow - 1 to top
|
|
206
204
|
if (!result) {
|