mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
remove ignore of variable (unneeded when only index is needed)
This commit is contained in:
@@ -52,7 +52,7 @@ var ColorMap = map[string]ui.Attribute{
|
|||||||
|
|
||||||
func InvertColorMap() {
|
func InvertColorMap() {
|
||||||
re := regexp.MustCompile(".*.fg")
|
re := regexp.MustCompile(".*.fg")
|
||||||
for k, _ := range ColorMap {
|
for k := range ColorMap {
|
||||||
if re.FindAllString(k, 1) != nil {
|
if re.FindAllString(k, 1) != nil {
|
||||||
ColorMap[k] = ui.ColorBlack
|
ColorMap[k] = ui.ColorBlack
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user