KeyMap defines keybindings. It satisfies to the help.KeyMap interface, which is used to render the help menu.
| 40 | // KeyMap defines keybindings. It satisfies to the help.KeyMap interface, which |
| 41 | // is used to render the help menu. |
| 42 | type KeyMap struct { |
| 43 | LineUp key.Binding |
| 44 | LineDown key.Binding |
| 45 | PageUp key.Binding |
| 46 | PageDown key.Binding |
| 47 | HalfPageUp key.Binding |
| 48 | HalfPageDown key.Binding |
| 49 | GotoTop key.Binding |
| 50 | GotoBottom key.Binding |
| 51 | } |
| 52 | |
| 53 | // ShortHelp implements the KeyMap interface. |
| 54 | func (km KeyMap) ShortHelp() []key.Binding { |
nothing calls this directly
no outgoing calls
no test coverage detected