From 233e4ebb2944a6100ad02e946dd8b140d97a4bbc Mon Sep 17 00:00:00 2001 From: kageru Date: Wed, 27 May 2020 22:38:38 +0200 Subject: [PATCH] Always autosave when entering normal mode --- src/tracc.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tracc.rs b/src/tracc.rs index d7b88d2..a859273 100644 --- a/src/tracc.rs +++ b/src/tracc.rs @@ -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;