Don't show navigation help in the stash if there's only one item

This commit is contained in:
Christian Rocha 2020-07-16 15:38:48 -04:00 committed by Christian Muehlhaeuser
commit 3409ca342a

View file

@ -607,6 +607,8 @@ func stashHelpView(m stashModel) string {
} else {
if len(m.markdowns) > 0 {
h = append(h, "enter: open")
}
if len(m.markdowns) > 1 {
h = append(h, "j/k, ↑/↓: choose")
}
if m.paginator.TotalPages > 1 {