fix(terminal): update ghostty-web to a build that clears recycled rows

ghostty-web 0.4.0 hands rows that scroll into view out of recycled WASM
page memory without clearing them, so after a tab or project switch the
new emulator showed the previous terminal's text (upstream #138). The fix
landed only in prereleases, so pin 0.4.0-next.20 and carry the local
block-glyph rendering patch over to the new dist file.

Verified in a production build: creating an emulator after disposing a
full one no longer exposes its rows, and switching between two projects
with live output in each keeps every terminal's content to itself.
This commit is contained in:
Bohdan Triapitsyn
2026-09-06 22:57:43 +03:00
parent c2f36fb5e7
commit eb6f7b0904
5 changed files with 66 additions and 11 deletions
+1 -1
View File
@@ -77,7 +77,7 @@
"eslint": "^9.33.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.5.0",
"ghostty-web": "0.4.0",
"ghostty-web": "0.4.0-next.20.g1858a59",
"globals": "^16.3.0",
"next-themes": "^0.4.6",
"nodemon": "^3.1.7",