X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fsbp%2Futil%2FANSI.java;h=0ffe1261d7926df134e9e44e849aa2edbff4f6c3;hp=a3304f0e2e413373ab32017b2e1f13efe93c1939;hb=62be1c1ae2ac13086b508e34eeffdb7e536d5b61;hpb=2c05c84a714f54b3bc026f51416492ddb13f33b1 diff --git a/src/edu/berkeley/sbp/util/ANSI.java b/src/edu/berkeley/sbp/util/ANSI.java index a3304f0..0ffe126 100644 --- a/src/edu/berkeley/sbp/util/ANSI.java +++ b/src/edu/berkeley/sbp/util/ANSI.java @@ -8,12 +8,14 @@ public class ANSI { //public static String red(Object o) { return o+""; } //public static String green(Object o) { return "\033[32m"+o+"\033[0m"; } public static String green(Object o) { return o+""; } - //public static String yellow(Object o) { return "\033[33m"+o+"\033[0m"; } - public static String yellow(Object o) { return o+""; } + public static String yellow(Object o) { return "\033[33m"+o+"\033[0m"; } + //public static String yellow(Object o) { return o+""; } //public static String blue(Object o) { return "\033[34m"+o+"\033[0m"; } public static String blue(Object o) { return o+""; } - //public static String purple(Object o) { return "\033[35m"+o+"\033[0m"; } - public static String purple(Object o) { return o+""; } - //public static String cyan(Object o) { return "\033[36m"+o+"\033[0m"; } - public static String cyan(Object o) { return o+""; } + public static String purple(Object o) { return "\033[35m"+o+"\033[0m"; } + //public static String purple(Object o) { return o+""; } + public static String cyan(Object o) { return "\033[36m"+o+"\033[0m"; } + //public static String cyan(Object o) { return o+""; } + public static String invert(Object o) { return "\033[7m"+o+"\033[0m"; } + public static String bold(Object o) { return "\033[1m"+o+"\033[0m"; } }