fixes 'numbers are bold when the filename is bold' (#462)

* fixes 'numbers are bold when the filename is bold'

* do it correctly
This commit is contained in:
gotroyb127 authored and GitHub committed 2020-09-06 17:52:11 +03:00
1 parent 3c8b5a5630
commit f248ce77a1
1 file changed
+1 -1
+1 -1
View File
@@ -375,7 +375,7 @@ func (win *win) printDir(screen tcell.Screen, dir *dir, selections map[string]in
}
}
win.print(screen, 0, i, st.Foreground(tcell.ColorOlive), ln)
win.print(screen, 0, i, tcell.StyleDefault.Foreground(tcell.ColorOlive), ln)
}
path := filepath.Join(dir.path, f.Name())