Files
buzz/desktop/src-tauri
Taylor Ho 2f6bea52d4 fix(terminal): workspace cleanup, light mode theme, buffer cap verified
Addresses Marge's review feedback:

1. Workspace-switch cleanup: Added terminal_close_all_sessions command
   that kills all PTY sessions. Called from resetWorkspaceState() so
   orphaned shells don't accumulate across workspace switches.

2. Light mode theme: Terminal surface stays dark in both modes (high
   contrast "pop" against light app chrome). Added Tokyo Night Moon
   variant for light mode with warmer foreground. Panel header/buttons
   use consistent light-on-dark colors regardless of app theme.
   MutationObserver syncs xterm theme when app theme class changes.

3. Buffer cap: Already implemented (256KB with drain-from-front) —
   verified the existing MAX_BUFFER_BYTES guard in spawn_reader_thread.
2026-05-21 20:25:32 -07:00
..