X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Ftterminal%2FDisplayLine.java;h=7a798bcb2e02f69c30908a8e985b439ff9439ad7;hb=3649b9210ea425f398ba8c24f9509669cf72aa96;hp=3f2cfd75b5a0685b59c3e56ba7bd0327e9a41481;hpb=34a42e784bf1238c6bb2847c52d7c841fcfdef5f;p=nikiroo-utils.git diff --git a/src/jexer/tterminal/DisplayLine.java b/src/jexer/tterminal/DisplayLine.java index 3f2cfd7..7a798bc 100644 --- a/src/jexer/tterminal/DisplayLine.java +++ b/src/jexer/tterminal/DisplayLine.java @@ -1,4 +1,4 @@ -/** +/* * Jexer - Java Text User Interface * * License: LGPLv3 or later @@ -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