Show the quit keybind in help
Author: joelzwarringtonCreated Dec 27, 2025Updated Feb 21, 2026
Description
The quit keybind isn't currently shown in the help for most fields. As an example, for the field input, these are the only keybinds which are rendered:
// KeyBinds returns the help message for the input field.
func (i *Input) KeyBinds() []key.Binding {
if i.textinput.ShowSuggestions {
return []key.Binding{i.keymap.AcceptSuggestion, i.keymap.Prev, i.keymap.Submit, i.keymap.Next}
}
return []key.Binding{i.keymap.Prev, i.keymap.Submit, i.keymap.Next}
}if g.showHelp && len(errors) <= 0 {
parts = append(parts, g.help.ShortHelpView(g.selector.Selected().KeyBinds()))
}Perhaps it'd make sense to render the g.selector.Selected().KeyBinds() keybinds in addition to the g.keymap.Quit keybinds (among other group level keybinds).
Source: charmbracelet/huh