revert: keep xterm.js for the terminal

ghostty-web 0.4.0 corrupts cell positions after the pane resizes or remounts. In testing, seq output became a diagonal staircase and reopening at a new width mixed the prompt with old output. The release also has open bugs for Alt-key input and idle repainting. Keep xterm.js until those are fixed.
This commit is contained in:
vhaudiquet committed 2026-11-28 10:37:57 +01:00
1 parent 3f61dd4db8
commit 05660a244b
7 files changed
+58 -58

No files matched your search

+6 -7
View File
@@ -386,12 +386,11 @@ when the shell ends. There is no server-side ring buffer; a reconnect
starts a fresh shell. Closing the socket closes the channel, which
hangs up the remote shell.
The emulator is ghostty-web in the browser, which runs Ghostty's VT
parser as WebAssembly behind an xterm.js-compatible API. The server
parses no escape sequences. A server-side libghostty-vt is a later
option: it gives screen snapshots on reconnect and a way to let the
model read the terminal, and it costs an FFI crate that allows `unsafe`.
That crate would live in this project, not in the framework.
The emulator is xterm.js in the browser. The server parses no escape
sequences. A server-side libghostty-vt is a later option: it gives screen
snapshots on reconnect and a way to let the model read the terminal, and
it costs an FFI crate that allows `unsafe`. That crate would live in this
project, not in the framework.
### Editor (read-only)
@@ -665,7 +664,7 @@ This repository, as committed:
- SSE event feed with durable replay (`?since=`) and transient deltas;
a WS presence socket with online and typing state.
- Read-only files tree and file view, `git status` and `git diff`.
- ghostty-web terminal over a WebSocket PTY.
- xterm.js terminal over a WebSocket PTY.
- Preview proxy over ssh `direct-tcpip`, signed wildcard hosts, no
rewriting.
- No approval prompts: the sandbox is the boundary, so `AllowAll`.