SESSIONS

Planned — terminal state preserved automatically across restarts.

This feature is on the roadmap and not yet implemented.

The design is outlined below. See the roadmap for current status.

Auto-Save

Session state will be saved periodically, capturing everything needed to restore your workspace:

Crash Recovery

If ori-term exits unexpectedly, stale PIDs will be detected on next launch. You will be prompted to restore your previous session, bringing back your full layout and scrollback history.

Scrollback Archive

Terminal output will be written to disk in an append-only compressed format, so scrollback survives restarts and is available even after a crash.

Archive Cleanup

A retention policy will keep disk usage under control with configurable time and size limits.