mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-19 22:54:17 +02:00
fixed showStatusMessage(string) to display passed parameter
This commit is contained in:
parent
53592dc04a
commit
d98cda4b2b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue