From 7b3e446e9d85fb019061978292de37bcbe63dfb2 Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 12 Mar 2022 19:32:23 +0100 Subject: Add new line to today’s events This fixes counting the number of events using `wc -l`. --- README.md | 7 +------ src/main.rs | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a83fda3..567d487 100644 --- a/README.md +++ b/README.md @@ -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); } -- cgit v1.2.3