add session save and session load functionality
New [key-bindings]:
- session-save: captures cwd and foreground process argv to ~/.local/share/foot/state/{name}.json
- session-save-secure: prompts for a password, encrypts the scrollback with argon2id + XChaCha20-Poly1305 (libsodium) and writes it to {name}.scrollback.enc(stores up to 1Mb scrollback buffer).
- session-load: a minimal fuzzy picker that displays saved sessions (both secure and vanilla), UI piggybacks on search bar subsurface. use arrows to navigate and delete to delete a previously saved session.
This commit is contained in:
parent
05ee680778
commit
cabddb26e6
16 changed files with 1947 additions and 49 deletions
3
foot.ini
3
foot.ini
|
|
@ -251,6 +251,9 @@ height=26
|
|||
# tab-next=Control+Tab
|
||||
# tab-prev=Control+Shift+Tab
|
||||
# tab-overview=Control+Shift+space
|
||||
# session-save=Control+Shift+s
|
||||
# session-load=Control+Shift+l
|
||||
# session-save-secure=Control+Shift+Alt+s
|
||||
|
||||
[search-bindings]
|
||||
# cancel=Control+g Control+c Escape
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue