From 3409ca342a1e9da6fe5ccd6898216319fc8123b8 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Thu, 16 Jul 2020 15:38:48 -0400 Subject: [PATCH] Don't show navigation help in the stash if there's only one item --- ui/stash.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/stash.go b/ui/stash.go index cbba85c..bf6aa00 100644 --- a/ui/stash.go +++ b/ui/stash.go @@ -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 {