Skip to content

Commit

Permalink
Fix typo in AnsiProcessor name
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Dec 2, 2020
1 parent f43e32b commit 8be96cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/main/java/org/fusesource/jansi/AnsiProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ else if (arg2or5 == 5) {
processDefaultBackgroundColor();
break;
case 0:
processAttributeRest();
processAttributeReset();
break;
default:
processSetAttribute(value);
Expand All @@ -175,7 +175,7 @@ else if (arg2or5 == 5) {
}
}
if (count == 0) {
processAttributeRest();
processAttributeReset();
}
return true;
case 's':
Expand Down Expand Up @@ -358,7 +358,7 @@ protected void processEraseLine(int eraseOption) throws IOException {
* <code>100-107</code> (background high intensity)
* @param attribute attribute
* @throws IOException IOException
* @see #processAttributeRest()
* @see #processAttributeReset()
* @see #processSetForegroundColor(int)
* @see #processSetForegroundColor(int, boolean)
* @see #processSetForegroundColorExt(int)
Expand Down Expand Up @@ -474,7 +474,7 @@ protected void processDefaultBackgroundColor() throws IOException {
* process <code>SGR 0</code> corresponding to <code>Reset / Normal</code>
* @throws IOException IOException
*/
protected void processAttributeRest() throws IOException {
protected void processAttributeReset() throws IOException {
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ protected void processDefaultBackgroundColor() throws IOException {
}

@Override
protected void processAttributeRest() throws IOException {
protected void processAttributeReset() throws IOException {
info.attributes = (short) ((info.attributes & ~0x00FF) | originalColors);
this.negative = false;
applyAttribute();
Expand Down

0 comments on commit 8be96cc

Please sign in to comment.