From cf8d781f584f182ec521510aa01cd5068d348ccd Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Sun, 14 Jan 2024 12:31:11 +0000 Subject: [PATCH] update function name --- internal/ui/keymappings.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()