]> matita.cs.unibo.it Git - helm.git/commitdiff
Colors are back! :-)
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 24 Mar 2006 16:07:10 +0000 (16:07 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 24 Mar 2006 16:07:10 +0000 (16:07 +0000)
matita/matitacLib.ml

index 844d4f5d854dd723ba1f3390d6b449674596608f..d4e67e7a0ae329de1a46613ceeea57f70ff0b12d 100644 (file)
@@ -173,7 +173,7 @@ let pp_times fname bench_mode rc big_bang =
         else 
           "matitac" 
       in
-      let rc = if rc then "OK" else "FAIL" in
+      let rc = if rc then "\e[0;32mOK\e[0m" else "\e[0;31mFAIL\e[0m" in
       let times = 
         let fmt t = 
           let seconds = int_of_float t in