diff --git a/ansi/src/main/java/de/staropensource/engine/ansi/AnsiShortcodeParser.java b/ansi/src/main/java/de/staropensource/engine/ansi/AnsiShortcodeParser.java index bd993e635..233cf257f 100644 --- a/ansi/src/main/java/de/staropensource/engine/ansi/AnsiShortcodeParser.java +++ b/ansi/src/main/java/de/staropensource/engine/ansi/AnsiShortcodeParser.java @@ -63,12 +63,12 @@ public final class AnsiShortcodeParser extends ShortcodeParser { status.clear(); } else if (component.startsWith("TEXT:")) ansi.a(component.substring(5)); - else if (component.startsWith("COLOR:")) + else if (component.startsWith("COLOR:")) { if (component.startsWith("COLOR:FOREGROUND:")) ansi.fg(Ansi.Color.valueOf(component.substring(17))); else if (component.startsWith("COLOR:BACKGROUND:")) ansi.bg(Ansi.Color.valueOf(component.substring(17))); - else if (component.startsWith("ATTRIBUTE:")) + } else if (component.startsWith("ATTRIBUTE:")) if (component.startsWith("ATTRIBUTE:BLINK")) { if (status.contains("ATTRIBUTE:BLINK")) continue;