Show confirmation popup for delete project and clear completed tasks (#35)

This commit is contained in:
Kuprijanov Roman
2022-01-07 15:01:52 +02:00
committed by GitHub
parent e4132138ab
commit e466e2f801
3 changed files with 31 additions and 4 deletions

View File

@@ -290,6 +290,7 @@ func (td *TaskDetailPane) handleShortcuts(event *tcell.EventKey) *tcell.EventKey
switch event.Key() {
case tcell.KeyEsc:
app.SetFocus(taskPane)
contents.RemoveItem(taskDetailPane)
return nil
case tcell.KeyDown:
td.taskDetailView.ScrollDown(1)