diff --git a/internal/ui/keymappings.go b/internal/ui/keymappings.go index ea3702d..b3a265f 100644 --- a/internal/ui/keymappings.go +++ b/internal/ui/keymappings.go @@ -28,7 +28,7 @@ func (a *App) inputCapture() func(event *tcell.EventKey) *tcell.EventKey { case key == tcell.KeyESC: a.escape() case key == tcell.KeyEnter: - a.selectHandle() + a.selected() } return event @@ -90,7 +90,7 @@ func (a *App) quit() { } } -func (a *App) selectHandle() { +func (a *App) selected() { switch a.mode { case normal: card, ok := a.getFocusedCard()