Always autosave when entering normal mode

This commit is contained in:
kageru 2020-05-27 22:38:38 +02:00
parent b8fe625405
commit 233e4ebb29
Signed by untrusted user: kageru
GPG Key ID: 8282A2BEA4ADA3D2

View File

@ -112,6 +112,7 @@ impl Tracc {
self.todos.normal_mode();
self.times.normal_mode();
self.terminal.hide_cursor()?;
persist_state(&self.todos, &self.times);
}
};
self.input_mode = mode;