Closed BoraxTheClean closed 3 years ago
we could maybe have a little pickle of last file name and maybe we can make other user prefs too
Yep I think storing a pickle of application configuration in a hidden file in the application directory is a good pattern for this.
We can just start with storing the last opened file for now and add+migrate user preferences as we go.
From @CupOfGeo:
When the application loads it will load into the text editor screen. From there it will either start a new note, or load the most recently worked on note.
Since we are loading into the text editor UI, the scope of this issue is more about storing and restoring application state on application load, writing a file (update, delete, save), and application close.