forked from kageru/tracc
Always autosave when entering normal mode
This commit is contained in:
parent
b8fe625405
commit
233e4ebb29
|
@ -112,6 +112,7 @@ impl Tracc {
|
||||||
self.todos.normal_mode();
|
self.todos.normal_mode();
|
||||||
self.times.normal_mode();
|
self.times.normal_mode();
|
||||||
self.terminal.hide_cursor()?;
|
self.terminal.hide_cursor()?;
|
||||||
|
persist_state(&self.todos, &self.times);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
self.input_mode = mode;
|
self.input_mode = mode;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user