diff options
author | Joris | 2022-03-12 19:32:23 +0100 |
---|---|---|
committer | Joris | 2022-03-12 19:33:12 +0100 |
commit | 7b3e446e9d85fb019061978292de37bcbe63dfb2 (patch) | |
tree | 432260cf6430dd506496d4abf21aa9efd190bef3 | |
parent | 630c0382ee928f4c3b58abdc1f68ab10fc19d9b7 (diff) |
Add new line to today’s events
This fixes counting the number of events using `wc -l`.
-rw-r--r-- | README.md | 7 | ||||
-rw-r--r-- | src/main.rs | 2 |
2 files changed, 2 insertions, 7 deletions
@@ -22,13 +22,9 @@ cargo test - Optimize refresh -### Mouse - -- Improve mouse precision - ### Recurring -- Add end date for a recurring event +- Add end repetition date for a recurring event - Give the possibility to update only future events when modifying recurring event ### Categorize events @@ -47,4 +43,3 @@ cargo test - Print errors on forms when validating. - Validate the form when pressing enter on any field. - Select the default focus with a button or a shortcut. -- Specify until which date a recurring event is diff --git a/src/main.rs b/src/main.rs index 1f5a294..7f51b4c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,7 +25,7 @@ fn main() -> Result<()> { } = Opt::from_args(); let conn = db::init(&db_path)?; if list_today { - print!("{}", cli::today(&conn)?); + println!("{}", cli::today(&conn)?); } else { gui::run(conn); } |