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 2020-09-06 17:52:11 +03:00 committed by GitHub
parent 3c8b5a5630
commit f248ce77a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
ui.go
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())