Merge branch 'kdheepak:main' into master

This commit is contained in:
Orhun Parmaksız 2021-10-27 21:44:42 +02:00 committed by GitHub
commit cdff8e3a22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2405,6 +2405,14 @@ impl TaskwarriorTui {
self.error = e;
}
}
} else if input == self.keyconfig.edit {
match self.task_edit() {
Ok(_) => self.update(true)?,
Err(e) => {
self.mode = Mode::Tasks(Action::Error);
self.error = e;
}
}
} else if input == self.keyconfig.undo {
match self.task_undo() {
Ok(_) => self.update(true)?,