add 'echomsg' and 'echoerr' commands for logging

This commit is contained in:
Gokcehan committed 2019-02-28 21:58:14 +03:00
1 parent 6ec2924b6b
commit 193285a65d
9 files changed
+97 -68

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[1mbinary\033[0m"}
reg.lines = []string{"\033[mbinary\033[0m"}
nav.regChan <- reg
return
}