Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 996 Bytes

TODO.md

File metadata and controls

27 lines (21 loc) · 996 Bytes

TODO

Global

  • use thiserror in the library
  • cleanup error types, for instance UnexpectedOutput
  • go over functions such as windows_related_to which return copies, and make them return references instead
  • check clap config file support
  • use the strategy option only in save and catalog commands
  • use the dirs crate for XDG-related directories
  • use config-rs crate for the upcoming config file

Related to save

  • add list of captured environment variables (in conf file?)

Related to restore

  • if in $TMUX, replace the existing session named 0 and switch to client else display a message tmux attach -t last-session-name
  • add restore --override to replace each existing session by its version from the archive
  • add restore --skip-last-lines n to not restore the last n lines of each buffer
  • in restore() gather the true metadata for displaying the overview, instead of the metadata from the archive