desc builds a Keybind with only a help description; keys come from config.toml.
(s string)
| 33 | |
| 34 | // desc builds a Keybind with only a help description; keys come from config.toml. |
| 35 | func desc(s string) Keybind { |
| 36 | return Keybind{ |
| 37 | Keybind: keybind.NewKeybind(keybind.WithHelp("", s)), |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | type ScrollKeybinds struct { |
| 42 | ScrollUp Keybind `toml:"scroll_up"` |
no outgoing calls
no test coverage detected