@seflless/ghosttown 1.6.1 → 1.6.2
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/dist/ghostty-web.js +623 -304
- package/dist/ghostty-web.umd.cjs +4 -4
- package/dist/index.d.ts +5 -0
- package/package.json +10 -1
- package/src/cli.js +422 -145
package/dist/index.d.ts
CHANGED
|
@@ -58,6 +58,11 @@ export declare class CanvasRenderer {
|
|
|
58
58
|
* Selection foreground color is applied here to match the selection background.
|
|
59
59
|
*/
|
|
60
60
|
private renderCellText;
|
|
61
|
+
/**
|
|
62
|
+
* Render a box-drawing character as lines extending from center to edges.
|
|
63
|
+
* This ensures pixel-perfect connections between adjacent cells (no gaps).
|
|
64
|
+
*/
|
|
65
|
+
private renderBoxDrawing;
|
|
61
66
|
/**
|
|
62
67
|
* Render cursor
|
|
63
68
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seflless/ghosttown",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "Web-based terminal emulator using Ghostty's VT100 parser via WebAssembly",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/ghostty-web.umd.cjs",
|
|
@@ -56,6 +56,14 @@
|
|
|
56
56
|
"dev": "vite --port 8000",
|
|
57
57
|
"demo": "node demo/bin/demo.js",
|
|
58
58
|
"demo:dev": "node demo/bin/demo.js --dev",
|
|
59
|
+
"demo:blocks": "bun demo/cli/run-demo.ts blocks",
|
|
60
|
+
"demo:box-drawing": "bun demo/cli/run-demo.ts box-drawing",
|
|
61
|
+
"demo:progress": "bun demo/cli/run-demo.ts progress",
|
|
62
|
+
"demo:shades": "bun demo/cli/run-demo.ts shades",
|
|
63
|
+
"demo:tui": "bun demo/cli/run-demo.ts tui",
|
|
64
|
+
"demo:all": "bun demo/cli/run-demo.ts all",
|
|
65
|
+
"test:visual": "bun test-harness/run.ts box-drawing",
|
|
66
|
+
"test:cleanup": "bun test-harness/run.ts cleanup",
|
|
59
67
|
"prebuild": "bun install",
|
|
60
68
|
"build": "bun run clean && bun run build:wasm && bun run build:lib && bun run build:wasm-copy",
|
|
61
69
|
"build:wasm": "./scripts/build-wasm.sh",
|
|
@@ -85,6 +93,7 @@
|
|
|
85
93
|
"@xterm/headless": "^5.5.0",
|
|
86
94
|
"@xterm/xterm": "^5.5.0",
|
|
87
95
|
"mitata": "^1.0.34",
|
|
96
|
+
"playwright": "^1.57.0",
|
|
88
97
|
"prettier": "^3.6.2",
|
|
89
98
|
"typescript": "^5.9.3",
|
|
90
99
|
"vite": "^4.5.0",
|