diff --git a/ui/stash.go b/ui/stash.go index a540b6c..242b908 100644 --- a/ui/stash.go +++ b/ui/stash.go @@ -263,13 +263,18 @@ func stashView(m stashModel) string { header = "Here’s your markdown stash:" } + var pageView string + if m.paginator.TotalPages > 1 { + pageView = paginator.View(m.paginator) + } + s += fmt.Sprintf( "%s\n\n%s\n\n%s\n\n%s%s\n\n%s", glowLogoView(" Glow "), header, stashPopulatedView(m), blankLines, - paginator.View(m.paginator), + pageView, helpView(m), ) }