Keyboard shortcuts for Project related actions added. Closes #13

This commit is contained in:
Anis Ahmad
2021-03-09 00:28:07 +06:00
parent ae2dc575b1
commit 0087d6ea1f
3 changed files with 25 additions and 2 deletions

View File

@@ -89,6 +89,9 @@ func setKeyboardShortcuts() *tview.Application {
event = projectPane.handleShortcuts(event)
case taskPane.HasFocus():
event = taskPane.handleShortcuts(event)
if event != nil && projectDetailPane.isShowing() {
event = projectDetailPane.handleShortcuts(event)
}
case taskDetailPane.HasFocus():
event = taskDetailPane.handleShortcuts(event)
}