From 23763fbc4905e736eedf03176611864397e010e9 Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Sat, 7 Jun 2025 21:24:48 +0200 Subject: [PATCH] add extra help binding --- internal/tui/tui.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/tui/tui.go b/internal/tui/tui.go index 060b8c79c8572a0508ebcd95a148ff0743bc7009..1c9c2f03ef32161d740992a8b95727e8e3ae6d6d 100644 --- a/internal/tui/tui.go +++ b/internal/tui/tui.go @@ -52,7 +52,7 @@ var keys = keyMap{ key.WithHelp("ctrl+c", "quit"), ), Help: key.NewBinding( - key.WithKeys("ctrl+_"), + key.WithKeys("ctrl+_", "ctrl+h"), key.WithHelp("ctrl+?", "toggle help"), ), @@ -427,7 +427,7 @@ func (a appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { // If submitted, replace all named arguments and run the command if msg.Submit { content := msg.Content - + // Replace each named argument with its value for name, value := range msg.Args { placeholder := "$" + name