X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fbits%2FCell.java;h=a8efa2b3c56465dc7ee93dc76fefa399bed85603;hb=218d18dbda14a7bf482d6c07bed66f16bcd6a6ba;hp=ff10dae5a99732602359c929763873b74a5fed1a;hpb=bfa37f3b2ef87d39c15fad7d565c00cbabd92acf;p=fanfix.git diff --git a/src/jexer/bits/Cell.java b/src/jexer/bits/Cell.java index ff10dae..a8efa2b 100644 --- a/src/jexer/bits/Cell.java +++ b/src/jexer/bits/Cell.java @@ -73,7 +73,7 @@ public final class Cell extends CellAttributes { /** * The character at this cell. */ - private char ch = ' '; + private int ch = ' '; /** * The display width of this cell. @@ -129,7 +129,7 @@ public final class Cell extends CellAttributes { * @param ch character to set to * @see #reset() */ - public Cell(final char ch) { + public Cell(final int ch) { this.ch = ch; } @@ -148,7 +148,7 @@ public final class Cell extends CellAttributes { * @param ch character to set to * @param attr attributes to use */ - public Cell(final char ch, final CellAttributes attr) { + public Cell(final int ch, final CellAttributes attr) { super(attr); this.ch = ch; } @@ -263,7 +263,7 @@ public final class Cell extends CellAttributes { * * @return cell character */ - public char getChar() { + public int getChar() { return ch; } @@ -272,7 +272,7 @@ public final class Cell extends CellAttributes { * * @param ch new cell character */ - public void setChar(final char ch) { + public void setChar(final int ch) { this.ch = ch; }