This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
barnard
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fix tree items not being highlighted when active
master
Tim Cooper
10 years ago
parent
91247c27e7
commit
cd99188e8a
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
ui_tree.go
+ 1
- 1
ui_tree.go
View File
@@ -25,7 +25,7 @@ func (ti TreeItem) TreeItemStyle(fg, bg uiterm.Attribute, active bool) (uiterm.A
fg |= uiterm.AttrBold
fg |= uiterm.AttrBold
}
}
if active {
if active {
bg |= uiterm.AttrReverse
fg, bg = bg, fg
}
}
return fg, bg
return fg, bg
}
}
Write
Preview
Loading…
Cancel
Save