mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
remove ignore of variable (unneeded when only index is needed)
This commit is contained in:
parent
3c83b7576b
commit
77f5e6b735
@ -52,7 +52,7 @@ var ColorMap = map[string]ui.Attribute{
|
||||
|
||||
func InvertColorMap() {
|
||||
re := regexp.MustCompile(".*.fg")
|
||||
for k, _ := range ColorMap {
|
||||
for k := range ColorMap {
|
||||
if re.FindAllString(k, 1) != nil {
|
||||
ColorMap[k] = ui.ColorBlack
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user