Terminal sessions and their scroll history are lost when SubFrame is closed. The layout (grid arrangement, tab order) is partially saved but shell state is not.
Desired behavior
- Restore terminal tab layout on restart
- Optionally reconnect to running shell processes (if possible)
- Save and restore scroll position / recent output
- Remember which AI tool session was active per terminal
Technical considerations
- xterm.js SerializeAddon could capture terminal buffer state
- PTY processes can't survive app restarts, but output history can be replayed
- Layout state (grid config, tab order) already partially persists via Zustand
Terminal sessions and their scroll history are lost when SubFrame is closed. The layout (grid arrangement, tab order) is partially saved but shell state is not.
Desired behavior
Technical considerations