Polish ANSI code

pull/9/head
Phillip Webb 12 years ago
parent a324beadac
commit 5c46a39494

@ -35,7 +35,7 @@ public interface AnsiElement {
public static final AnsiElement YELLOW = new DefaultAnsiElement("33");
public static final AnsiElement BLUE = new DefaultAnsiElement("34");
public static final AnsiElement MAGENTA = new DefaultAnsiElement("35");
public static final AnsiElement CYAN_FG = new DefaultAnsiElement("36");
public static final AnsiElement CYAN = new DefaultAnsiElement("36");
public static final AnsiElement WHITE = new DefaultAnsiElement("37");
public static final AnsiElement DEFAULT = new DefaultAnsiElement("39");

@ -33,11 +33,11 @@ public abstract class AnsiOutput {
private static final String OPERATING_SYSTEM_NAME = System.getProperty("os.name")
.toLowerCase();
private static final Object ENCODE_START = "\033[";
private static final String ENCODE_START = "\033[";
private static final Object ENCODE_END = "m";
private static final String ENCODE_END = "m";
final private static String RESET = "0;" + AnsiElement.DEFAULT;
private final static String RESET = "0;" + AnsiElement.DEFAULT;
/**
* Sets if ANSI output is enabled.

Loading…
Cancel
Save