mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-24 23:46:41 +02:00
Merge pull request #142 from kdheepak/remove-0-shortcut
This commit is contained in:
commit
f04894d309
3 changed files with 2 additions and 10 deletions
|
@ -47,7 +47,7 @@ Keybindings for task report:
|
|||
|
||||
!: {string} - Custom shell command
|
||||
|
||||
0-9: {string} - Run user defined shortcuts
|
||||
1-9: {string} - Run user defined shortcuts
|
||||
|
||||
c: context switcher menu - Open context switcher menu
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ Keybindings for task report:
|
|||
`!`
|
||||
: {string} - Custom shell command
|
||||
|
||||
`0-9`
|
||||
`1-9`
|
||||
: {string} - Run user defined shortcuts
|
||||
|
||||
`c`
|
||||
|
|
|
@ -1603,14 +1603,6 @@ impl TTApp {
|
|||
self.mode = AppMode::TaskHelpPopup;
|
||||
} else if input == self.keyconfig.filter {
|
||||
self.mode = AppMode::TaskFilter;
|
||||
} else if input == self.keyconfig.shortcut0 {
|
||||
match self.task_shortcut(0) {
|
||||
Ok(_) => self.update(true)?,
|
||||
Err(e) => {
|
||||
self.mode = AppMode::TaskError;
|
||||
self.error = e;
|
||||
}
|
||||
}
|
||||
} else if input == self.keyconfig.shortcut1 {
|
||||
match self.task_shortcut(1) {
|
||||
Ok(_) => self.update(true)?,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue