fix: bump ghostty-web to 0.4.1 with render loop resilience

Update ghostty-web to b0aa99e which wraps the requestAnimationFrame
render loop in try/catch. Previously, any exception in renderer.render()
or wasmTerm.getCursor() would silently kill the loop, permanently
freezing the terminal canvas while input continued to flow normally.

The fix ensures requestAnimationFrame is always re-scheduled and logs
errors to console for diagnosis. This addresses intermittent terminal
stalls that were not correlated with resize, focus, or user interaction.
This commit is contained in:
GitHub Copilot
2026-02-17 16:15:34 +00:00
parent 52b8703313
commit 153d6d1612
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
"private": true,
"type": "module",
"dependencies": {
"ghostty-web": "github:rcarmo/ghostty-web#2837b81646aa0c00bb5a2881b5a53400346c76de"
"ghostty-web": "github:rcarmo/ghostty-web#b0aa99e8d06069d4bda6ffae87c9de4bb17b2699"
},
"devDependencies": {
"typescript": "^5.7.0"