|
@@ -79,14 +79,9 @@ func (ap *attachmentsPicker) HandleEvent(event tview.Event) tview.Command {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (ap *attachmentsPicker) ShortHelp() []keybind.Keybind {
|
|
func (ap *attachmentsPicker) ShortHelp() []keybind.Keybind {
|
|
|
- cfg := ap.cfg.Keybinds.Picker
|
|
|
|
|
- return []keybind.Keybind{cfg.Up.Keybind, cfg.Down.Keybind, cfg.Select.Keybind, cfg.Cancel.Keybind}
|
|
|
|
|
|
|
+ return pickerShortHelp(ap.cfg.Keybinds.Picker)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (ap *attachmentsPicker) FullHelp() [][]keybind.Keybind {
|
|
func (ap *attachmentsPicker) FullHelp() [][]keybind.Keybind {
|
|
|
- cfg := ap.cfg.Keybinds.Picker
|
|
|
|
|
- return [][]keybind.Keybind{
|
|
|
|
|
- {cfg.Up.Keybind, cfg.Down.Keybind, cfg.Top.Keybind, cfg.Bottom.Keybind},
|
|
|
|
|
- {cfg.Select.Keybind, cfg.Cancel.Keybind},
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ return pickerFullHelp(ap.cfg.Keybinds.Picker)
|
|
|
}
|
|
}
|