jeopi-tui 16.2.13 → 16.2.15
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 +2 -0
- package/package.json +3 -3
- package/src/terminal-capabilities.ts +9 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "jeopi-tui",
|
|
4
|
-
"version": "16.2.
|
|
4
|
+
"version": "16.2.15",
|
|
5
5
|
"description": "Terminal User Interface library with differential rendering for efficient text-based applications",
|
|
6
6
|
"homepage": "https://github.com/akillness/jeopi",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"fmt": "biome format --write ."
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"jeopi-natives": "16.2.
|
|
41
|
-
"jeopi-utils": "16.2.
|
|
40
|
+
"jeopi-natives": "16.2.15",
|
|
41
|
+
"jeopi-utils": "16.2.15",
|
|
42
42
|
"lru-cache": "11.5.1",
|
|
43
43
|
"marked": "^18.0.5"
|
|
44
44
|
},
|
|
@@ -525,6 +525,15 @@ export const TERMINAL: RuntimeTerminal = (() => {
|
|
|
525
525
|
// ignores DECCARA) exercises the padded-string fallback. Integration tests opt
|
|
526
526
|
// in explicitly through setTerminalDeccara.
|
|
527
527
|
resolved.deccara = detectRectangularSgrSupport(resolved.id, Bun.env) && !isBunTestRuntime();
|
|
528
|
+
// OSC 66 text-sizing. The static per-terminal capability lives on
|
|
529
|
+
// KNOWN_TERMINALS (true for kitty/ghostty/wezterm/iterm2) and is otherwise
|
|
530
|
+
// gated behind the `tui.textSizing` setting at runtime — but resolving it raw
|
|
531
|
+
// here means running the test suite itself from inside one of those terminals
|
|
532
|
+
// (e.g. kitty) leaks `TERM_PROGRAM` into `Bun.env` and flips the "disabled by
|
|
533
|
+
// default" assumption every heading test relies on. Force it off under the
|
|
534
|
+
// test runtime, same as deccara above; tests opt in explicitly via
|
|
535
|
+
// setTerminalTextSizing.
|
|
536
|
+
resolved.textSizing = resolved.textSizing && !isBunTestRuntime();
|
|
528
537
|
return resolved;
|
|
529
538
|
})();
|
|
530
539
|
|