Explorar o código

fix(colors): root group not painted as expected when eza used by root

MartinFillon %!s(int64=2) %!d(string=hai) anos
pai
achega
e78ba60186
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/output/render/groups.rs

+ 1 - 1
src/output/render/groups.rs

@@ -42,7 +42,7 @@ impl Render for Option<f::Group> {
             }
         }
 
-        if group.gid() == 0 {
+        if group.gid() == 0 && style != colours.yours() {
             style = colours.root_group();
         }