fixed showStatusMessage(string) to display passed parameter

This commit is contained in:
shaun mitchell 2020-12-07 08:22:38 -05:00 committed by Christian Rocha
commit d98cda4b2b

View file

@ -387,7 +387,7 @@ func (m pagerModel) statusBarView(b *strings.Builder) {
// Note
var note string
if showStatusMessage {
note = "Stashed!"
note = m.statusMessage
} else {
note = m.currentDocument.Note
if len(note) == 0 {