This PR adds a new feature: persisting the last_visited_path in a file, .config/kronos/state.toml.
This is saved when closing the program, and loaded when opening it, so the selected path stays the same between sessions of the application rather than resetting to what the current working directory is when the program is started.
I'm creating this one as a draft pull request for this reason: we should avoid merging it before https://github.com/TrevorSatori/kronos/pull/29, and I'll need to update this PR/branch after/if PR29 is merged.
This PR adds a new feature: persisting the
last_visited_path
in a file,.config/kronos/state.toml
.This is saved when closing the program, and loaded when opening it, so the selected path stays the same between sessions of the application rather than resetting to what the current working directory is when the program is started.
Note: this branch includes the changes from https://github.com/TrevorSatori/kronos/pull/29, so the diff is a bit messy.
I'm creating this one as a draft pull request for this reason: we should avoid merging it before https://github.com/TrevorSatori/kronos/pull/29, and I'll need to update this PR/branch after/if PR29 is merged.