Skip to content

Persist terminal sessions and layout across app restarts #27

@Codename-11

Description

@Codename-11

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions