Skip to content

Commit

Permalink
ask passwd before let user input new todo
Browse files Browse the repository at this point in the history
  • Loading branch information
jfding committed Oct 23, 2024
1 parent 82bd2cd commit 4d1bbf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ fn main() {
inbox_path = get_inbox_file("routine")
}
let mut todo = TaskBox::new(inbox_path);
todo.load();

#[allow(clippy::redundant_closure)]
let input = what.unwrap_or_else(|| i_gettext());
Expand Down

0 comments on commit 4d1bbf5

Please sign in to comment.