From f248ce77a18666dabc744998a12d265849c6118c Mon Sep 17 00:00:00 2001 From: gotroyb127 <62418822+gotroyb127@users.noreply.github.com> Date: Sun, 6 Sep 2020 17:52:11 +0300 Subject: [PATCH] fixes 'numbers are bold when the filename is bold' (#462) * fixes 'numbers are bold when the filename is bold' * do it correctly --- ui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.go b/ui.go index 173e6707..9950fc1c 100644 --- a/ui.go +++ b/ui.go @@ -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())