From 256c86e06f992361fe68779efb1d25e3203a5000 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Thu, 1 Aug 2024 20:04:56 +0300 Subject: [PATCH] fix: move text notes to comma key --- README.md | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index df6248c..7849e78 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ Dots can be repeated to move to parent tasks. - `>[TEXT]` - Complete active task and move to parent, with optional state description - `<[TEXT]` - Close active task and move to parent, with optional state description - `!TEXT` - Set state for current task from text -- `-TEXT` - add text note (comment / description) +- `,TEXT` - add text note (comment / description) - `@` - undoes last action (moving in place or upwards or waiting a minute confirms pending actions) Property Filters: diff --git a/src/main.rs b/src/main.rs index 9858fb4..b43e11f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -304,7 +304,7 @@ async fn main() { } }, - Some('-') => tasks.add_note(arg), + Some(',') => tasks.add_note(arg), Some('>') => { tasks.update_state(arg, State::Done);