summaryrefslogtreecommitdiff
path: root/mark.go
diff options
context:
space:
mode:
Diffstat (limited to 'mark.go')
-rw-r--r--mark.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/mark.go b/mark.go
index d7286e4..0cfe6bc 100644
--- a/mark.go
+++ b/mark.go
@@ -40,6 +40,9 @@ func MarkList(state *BrowserState) error {
}
}
state.Modal = buf.Bytes()
+ if len(state.Modal) == 0 {
+ state.Modal = []byte("(empty)\n")
+ }
return Print(state)
}