Compare commits

..

1 commit

Author SHA1 Message Date
xeruf
488b63b417 feat(main): migrate to current rustyline version 2024-08-23 11:56:58 +03:00
3 changed files with 73 additions and 81 deletions

View file

@ -92,9 +92,7 @@ To stop time-tracking completely, simply move to the root of all tasks.
`TASK` creation syntax: `NAME: TAG1 TAG2 ...`
- `TASK` - create task
+ prefix with space if you want a task to start with a command character
+ copy in text with newlines to create one task per line
- `TASK` - create task (prefix with space if you want a task to start with a command character)
- `.` - clear filters
- `.TASK`
+ activate task by id

View file

@ -662,12 +662,6 @@ async fn main() -> Result<()> {
}
});
continue;
} else if input.contains('\n') {
input.split('\n').for_each(|line| {
if !line.trim().is_empty() {
tasks.make_task(line);
}
});
} else {
tasks.filter_or_create(tasks.get_position().as_ref(), &input);
}