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/commands.go | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'internal/tui/commands.go') diff --git a/internal/tui/commands.go b/internal/tui/commands.go index c54df29..4a19551 100644 --- a/internal/tui/commands.go +++ b/internal/tui/commands.go @@ -9,10 +9,11 @@ import ( ) type ( - navigationMsg struct{ Forward bool } - selectionMsg struct{ Forward bool } - drillDownMsg struct{} - drillUpMsg struct{} + navigationMsg struct{ Forward bool } + selectionMsg struct{ Forward bool } + drillDownMsg struct{} + drillUpMsg struct{} + searchActivated struct{} ) func navigate(forward bool) tea.Cmd { @@ -63,3 +64,7 @@ func backToHistorySummary() tea.Cmd { func changeSelection(forward bool) tea.Cmd { return func() tea.Msg { return selectionMsg{forward} } } + +func activateSearch() tea.Cmd { + return func() tea.Msg { return searchActivated{} } +} -- cgit v1.2.3