@ai-ecoverse/slicc-spectrum 1.112.0 → 1.112.1
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/README.md +2 -0
- package/dist/{chunk-KYIEFCEE.js → chunk-G7UZNWLW.js} +775 -136
- package/dist/chunk-G7UZNWLW.js.map +7 -0
- package/dist/ghostty-vt.wasm +0 -0
- package/dist/slicc-terminal.js +1 -1
- package/dist/slicc-ui.js +90 -47
- package/dist/slicc-ui.js.map +3 -3
- package/dist/types/cell-canvas.d.ts +6 -0
- package/dist/types/ghostty.d.ts +5 -1
- package/dist/types/slicc-terminal.d.ts +1 -0
- package/package.json +9 -9
- package/dist/chunk-KYIEFCEE.js.map +0 -7
package/README.md
CHANGED
|
@@ -161,6 +161,8 @@ Things found while building this against wterm 0.5.4, recorded here, not pushed
|
|
|
161
161
|
The element runs on `@wterm/ghostty` instead, which reflows on resize, keeps wrap flags in the scrollback and renders 24-bit and 256 colours exactly (xterm's 0/95/135/175/215/255 cube).
|
|
162
162
|
- Ghostty resolves palette colours 0–15 to RGB inside the WASM, so wterm's `--term-color-N` variables (and `--slicc-terminal-color-N`) would stop applying.
|
|
163
163
|
The element gives the core a palette of 16 marker colours (`#51cc00` … `#51cc0f`) and maps cells in those colours back to palette indexes, so the CSS variables theme them and follow a theme switch, in the scrollback too. Text drawn in exactly one of those 24-bit colours shows in the theme's palette colour instead.
|
|
164
|
+
From `@wterm/dom` 0.5.7, `WTerm` also reads those CSS variables on init (and on OSC 10/11) and calls `setThemeColors` on the core; the element keeps the marker palette on that path so the CSS mapping still works.
|
|
165
|
+
0.5.7 also paints cell backgrounds onto a canvas, which would drop live CSS backgrounds from the spans; the element suspends that canvas so palette and 256-colour backgrounds stay on the spans.
|
|
164
166
|
- Ghostty answers OSC 10 and OSC 11 queries itself, with the colours it was loaded with. The element drops those replies and answers from the theme it shows.
|
|
165
167
|
- Ghostty's `scrollbackLimit` is in bytes and allocated in pages, so the number of lines it keeps depends on the width. Its default of 10,000 bytes keeps about 300 lines at 200 columns; the element asks for 4 MB.
|
|
166
168
|
- `WTerm.destroy()` doesn't dispose a core passed in as `core`. The element disposes it.
|