소스 검색

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

MartinFillon 2 년 전
부모
커밋
e78ba60186
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();
         }