diff options
Diffstat (limited to 'internal/tui/keys.go')
-rw-r--r-- | internal/tui/keys.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/internal/tui/keys.go b/internal/tui/keys.go index d2e08f4..46b664c 100644 --- a/internal/tui/keys.go +++ b/internal/tui/keys.go @@ -26,11 +26,10 @@ type KeyBinding struct { } type ( - createProjectMsg struct{} createClientMsg struct{} - activateSearch struct{} - editHistoryEntry struct{} + createProjectMsg struct{} deleteHistoryEntry struct{} + editHistoryEntry struct{} ) func msgAsCmd(msg tea.Msg) tea.Cmd { @@ -71,7 +70,7 @@ var Bindings map[KeyBindingScope]map[string]KeyBinding = map[KeyBindingScope]map Key: "/", Description: func(am AppModel) string { return "Search" }, Scope: ScopeGlobal, - Result: func(AppModel) tea.Cmd { return msgAsCmd(activateSearch{}) }, + Result: func(AppModel) tea.Cmd { return activateSearch() }, }, "r": KeyBinding{ Key: "r", |