Skip to content

Commit 8be96cc

Browse files
committed
Fix typo in AnsiProcessor name
1 parent f43e32b commit 8be96cc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/main/java/org/fusesource/jansi/AnsiProcessor.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ else if (arg2or5 == 5) {
166166
processDefaultBackgroundColor();
167167
break;
168168
case 0:
169-
processAttributeRest();
169+
processAttributeReset();
170170
break;
171171
default:
172172
processSetAttribute(value);
@@ -175,7 +175,7 @@ else if (arg2or5 == 5) {
175175
}
176176
}
177177
if (count == 0) {
178-
processAttributeRest();
178+
processAttributeReset();
179179
}
180180
return true;
181181
case 's':
@@ -358,7 +358,7 @@ protected void processEraseLine(int eraseOption) throws IOException {
358358
* <code>100-107</code> (background high intensity)
359359
* @param attribute attribute
360360
* @throws IOException IOException
361-
* @see #processAttributeRest()
361+
* @see #processAttributeReset()
362362
* @see #processSetForegroundColor(int)
363363
* @see #processSetForegroundColor(int, boolean)
364364
* @see #processSetForegroundColorExt(int)
@@ -474,7 +474,7 @@ protected void processDefaultBackgroundColor() throws IOException {
474474
* process <code>SGR 0</code> corresponding to <code>Reset / Normal</code>
475475
* @throws IOException IOException
476476
*/
477-
protected void processAttributeRest() throws IOException {
477+
protected void processAttributeReset() throws IOException {
478478
}
479479

480480
/**

src/main/java/org/fusesource/jansi/WindowsAnsiProcessor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ protected void processDefaultBackgroundColor() throws IOException {
300300
}
301301

302302
@Override
303-
protected void processAttributeRest() throws IOException {
303+
protected void processAttributeReset() throws IOException {
304304
info.attributes = (short) ((info.attributes & ~0x00FF) | originalColors);
305305
this.negative = false;
306306
applyAttribute();

0 commit comments

Comments
 (0)