Skip to content

Commit

Permalink
fixed typos giving ANSI output inconsistent with Ansi method name
Browse files Browse the repository at this point in the history
this closes #163
  • Loading branch information
hboutemy committed May 30, 2020
1 parent c2aaada commit 1461096
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jansi/src/main/java/org/fusesource/jansi/Ansi.java
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ public Ansi bg(Color color) {
}

public Ansi bgCyan() {
return this.fg(Color.CYAN);
return this.bg(Color.CYAN);
}

public Ansi bgDefault() {
Expand Down Expand Up @@ -481,7 +481,7 @@ public Ansi bgBright(Color color) {
}

public Ansi bgBrightCyan() {
return this.fgBright(Color.CYAN);
return this.bgBright(Color.CYAN);
}

public Ansi bgBrightDefault() {
Expand All @@ -493,7 +493,7 @@ public Ansi bgBrightGreen() {
}

public Ansi bgBrightMagenta() {
return this.bg(Color.MAGENTA);
return this.bgBright(Color.MAGENTA);
}

public Ansi bgBrightRed() {
Expand Down

0 comments on commit 1461096

Please sign in to comment.