1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-28 16:02:01 +03:00

prevent flicker from bolding background of selected line

This commit is contained in:
Jesse Duffield
2020-05-15 20:43:16 +10:00
parent 6291c53966
commit 913f17ee3e
5 changed files with 15 additions and 5 deletions

View File

@ -120,7 +120,7 @@ func coloredString(colorAttr color.Attribute, str string, selected bool, include
var cl *color.Color
attributes := []color.Attribute{colorAttr}
if selected {
attributes = append(attributes, theme.SelectedLineBgColor)
attributes = append(attributes, theme.SelectedRangeBgColor)
}
cl = color.New(attributes...)
var clIncluded *color.Color