@oh-my-pi/pi-tui 16.2.12 → 16.2.13

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [16.2.13] - 2026-07-01
6
+
7
+ ### Fixed
8
+
9
+ - Fixed fuzzy-search filtering for CJK and other non-ASCII queries by preserving Unicode letters and numbers during query normalization ([#4114](https://github.com/can1357/oh-my-pi/issues/4114)).
10
+
5
11
  ## [16.2.12] - 2026-07-01
6
12
 
7
13
  ### Fixed
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-tui",
4
- "version": "16.2.12",
4
+ "version": "16.2.13",
5
5
  "description": "Terminal User Interface library with differential rendering for efficient text-based applications",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": "Can Boluk",
@@ -37,8 +37,8 @@
37
37
  "fmt": "biome format --write ."
38
38
  },
39
39
  "dependencies": {
40
- "@oh-my-pi/pi-natives": "16.2.12",
41
- "@oh-my-pi/pi-utils": "16.2.12",
40
+ "@oh-my-pi/pi-natives": "16.2.13",
41
+ "@oh-my-pi/pi-utils": "16.2.13",
42
42
  "lru-cache": "11.5.1",
43
43
  "marked": "^18.0.5"
44
44
  },
package/src/fuzzy.ts CHANGED
@@ -47,7 +47,7 @@ function normalizeForSearch(value: string): string {
47
47
  .replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2")
48
48
  .replace(/([a-z0-9])([A-Z])/g, "$1 $2")
49
49
  .toLowerCase()
50
- .replace(/[^a-z0-9]+/g, " ")
50
+ .replace(/[^\p{Letter}\p{Mark}\p{Number}]+/gu, " ")
51
51
  .trim()
52
52
  .replace(/\s+/g, " ");
53
53
  }