diff options
author | Gokcehan <gokcehankara@gmail.com> | 2022-12-24 23:15:46 +0300 |
---|---|---|
committer | Gokcehan <gokcehankara@gmail.com> | 2022-12-24 23:15:46 +0300 |
commit | b47cf6d5a525c39db268c2f7b77e2b7497843b17 (patch) | |
tree | f23295c7e732cec7b2488fa257fcd4c318c7bb94 | |
parent | aa78b26e44574f3fef7cfdd4e6496dac405ba52f (diff) |
revert dim colors for previewsr28
cc #924 #1038
-rw-r--r-- | ui.go | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -341,7 +341,6 @@ const LineNumberColor = tcell.ColorOlive const SelectionColor = tcell.ColorPurple const YankColor = tcell.ColorOlive const CutColor = tcell.ColorMaroon -const DimCursorColor = tcell.ColorGrey func (win *win) printDir(screen tcell.Screen, dir *dir, context *dirContext, dirStyle *dirStyle) { if win.w < 5 || dir == nil { @@ -349,9 +348,6 @@ func (win *win) printDir(screen tcell.Screen, dir *dir, context *dirContext, dir } messageStyle := tcell.StyleDefault.Reverse(true) - if dirStyle.previewing { - messageStyle = messageStyle.Foreground(DimCursorColor) - } if dir.noPerm { win.print(screen, 2, 0, messageStyle, "permission denied") @@ -438,9 +434,6 @@ func (win *win) printDir(screen tcell.Screen, dir *dir, context *dirContext, dir if i == dir.pos { st = st.Reverse(true) - if dirStyle.previewing { - st = st.Foreground(DimCursorColor) - } } var s []rune |