diff options
author | T <t@tjp.lol> | 2025-08-06 16:00:05 -0600 |
---|---|---|
committer | T <t@tjp.lol> | 2025-08-06 16:26:00 -0600 |
commit | c53e8c4e41aa88566b101431bcd104ebf7b34312 (patch) | |
tree | 614e1c911fae328cfdb1a35050bf94658d9253f8 /internal/tui/keys.go | |
parent | 65e2ed65775d64afbc6065a3b4ac1069020093ca (diff) |
TUI fixes, and WIP modal dialog rendering
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", |