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