From c53e8c4e41aa88566b101431bcd104ebf7b34312 Mon Sep 17 00:00:00 2001 From: T Date: Wed, 6 Aug 2025 16:00:05 -0600 Subject: TUI fixes, and WIP modal dialog rendering --- internal/tui/keys.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'internal/tui/keys.go') 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", -- cgit v1.2.3