X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Ftterminal%2FDisplayLine.java;h=a243cdbbc3844e8b023b088c133548b942c3d115;hb=bd8d51fa0a33d6d27dba088c57791e1650512fc0;hp=3f2cfd75b5a0685b59c3e56ba7bd0327e9a41481;hpb=bb35d91958450cc7152d2063f1d6cd34c15e2a3d;p=fanfix.git diff --git a/src/jexer/tterminal/DisplayLine.java b/src/jexer/tterminal/DisplayLine.java index 3f2cfd7..a243cdb 100644 --- a/src/jexer/tterminal/DisplayLine.java +++ b/src/jexer/tterminal/DisplayLine.java @@ -173,7 +173,7 @@ public final class DisplayLine { * @param newCell the new Cell */ public void replace(final int idx, final Cell newCell) { - chars[idx] = newCell; + chars[idx].setTo(newCell); } /** @@ -208,8 +208,8 @@ public final class DisplayLine { } /** - * Delete character at the specified position, filling in new characters - * on the right with newCell. + * Delete character at the specified position, filling in the new + * character on the right with newCell. * * @param idx the character index * @param newCell the new Cell