Home

giogio / goko

public
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix: free WebGL canvas of hidden terminals, enable devtools

5 days ago

7cafb85
Authored
asta-nguyen11/7/2026, 12:45:29 PM
Every terminal stays mounted and each held its own WebGL canvas even when
hidden (~270 MB of the ~650 MB WebContent footprint). Hidden terminals now
drop the addon and get it back when shown; xterm pauses its DOM renderer
while the element is hidden. Terminals mounted hidden create no canvas.

Enable the Tauri devtools feature so release builds can take heap snapshots.

Parent80b6189

3 files changed
  • apps/desktop/src-tauri/Cargo.toml+2−1
  • apps/desktop/src/features/terminal/TerminalController.test.ts+31−0
  • apps/desktop/src/features/terminal/TerminalController.ts+16−3