Helper struct for linking together help and key bindings.
| 96 | |
| 97 | // Helper struct for linking together help and key bindings. |
| 98 | type KeyStroke struct { |
| 99 | keys KeyMap |
| 100 | help help.Model |
| 101 | } |
| 102 | |
| 103 | // Create new instance of [KeyStroke]. |
| 104 | func NewKeyStroke(keyStyle, descStyle lipgloss.Color) KeyStroke { |
nothing calls this directly
no outgoing calls
no test coverage detected