Bläddra i källkod

Fix LS_COLORS 01 and 04 detection

Chet Gurevitch 8 år sedan
förälder
incheckning
afc9657434
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/style/lsc.rs

+ 2 - 2
src/style/lsc.rs

@@ -52,8 +52,8 @@ impl<'var> Pair<'var> {
             match num {
 
                 // Bold and italic
-                "1"  => style = style.bold(),
-                "4"  => style = style.underline(),
+                "1" | "01" => style = style.bold(),
+                "4" | "04" => style = style.underline(),
 
                 // Foreground colours
                 "30" => style = style.fg(Black),