mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-23 00:24:17 +02:00
Don't show navigation help in the stash if there's only one item
This commit is contained in:
parent
d156142f57
commit
3409ca342a
1 changed files with 2 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue