Skip to main content

Module storage

Module storage 

Source
Expand description

File I/O for session persistence

Sessions are stored in ~/.config/par-term/last_session.yaml

Functionsยง

clear_session
Remove the session state file (e.g., after successful restore)
load_session
Load session state from the default location
load_session_from
Load session state from a specific file
save_session
Save session state to the default location
save_session_to
Save session state to a specific file
session_path
Get the path to the session state file