Parcourir la source

Set color on by default

 + Related to issue #20.
Leo il y a 9 ans
Parent
commit
2264d38316
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/const.ml

+ 1 - 1
src/const.ml

@@ -75,7 +75,7 @@ let verbosity =
        |> Int.of_string);;
 (* Use do not use colors, 0 -> false, anything -> true *)
 let no_color =
-  ref (get_var ~default:(lazy "0") (lazy "OC_COLOR")
+  ref (get_var ~default:(lazy "1") (lazy "OC_COLOR")
        |> Lazy.force
        |> (function "0" -> false | _ -> true)
       )