diff options
| author | zhugehyuk <icedac@users.noreply.github.com> | 2026-05-25 03:28:33 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-24 21:28:33 +0300 |
| commit | 43c6ca3a5dbdcefc6c6dc29be9ce81d990baf39e (patch) | |
| tree | 73be12f81129dab324ea08901c733a6a56ec0e61 /src/persist.rs | |
| parent | 5ce738cf5397d0d8a50ed1aa6335297073cc0f0f (diff) | |
feat: persist pane history across restarts (#248)
refs #217
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
Diffstat (limited to 'src/persist.rs')
| -rw-r--r-- | src/persist.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/persist.rs b/src/persist.rs index 1753d679..b2698364 100644 --- a/src/persist.rs +++ b/src/persist.rs @@ -1,13 +1,15 @@ //! Session persistence — save/restore workspaces, layouts, and working directories. //! //! Stored at `~/.config/herdr/session.json`. +//! Optional pane screen history is stored separately at `session-history.json`. mod io; mod restore; mod snapshot; -pub use self::io::{clear, load, save}; +pub use self::io::{clear, clear_history, load, load_history, save}; pub use self::restore::restore; pub use self::snapshot::{ - capture, DirectionSnapshot, LayoutSnapshot, SessionSnapshot, TabSnapshot, WorkspaceSnapshot, + capture, capture_history, DirectionSnapshot, LayoutSnapshot, SessionHistorySnapshot, + SessionSnapshot, TabSnapshot, WorkspaceSnapshot, }; |
