use reverse attribute for preview messages

This commit is contained in:
Gokcehan committed 2019-03-01 03:51:14 +03:00
1 parent 4d2a628550
commit f44ec4f5bd
3 files changed
+9 -4

No files matched your search

+1 -1
View File
@@ -389,7 +389,7 @@ func (nav *nav) preview() {
for i := 0; i < nav.height && buf.Scan(); i++ {
for _, r := range buf.Text() {
if r == 0 {
reg.lines = []string{"\033[mbinary\033[0m"}
reg.lines = []string{"\033[7mbinary\033[0m"}
nav.regChan <- reg
return
}