Skip to content

Commit

Permalink
Fix regression caused by #93
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Mar 3, 2017
1 parent a829116 commit b3eb67b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public String toAnsi(Terminal terminal) {
int bg = (s & F_BACKGROUND) != 0 ? (s & BG_COLOR) >>> BG_COLOR_EXP : -1;
if (s == 0) {
sb.append("\033[0m");
foreground = background = -1;
} else {
sb.append("\033[");
boolean first = true;
Expand Down

0 comments on commit b3eb67b

Please sign in to comment.