many fixes
[fanfix.git] / src / jexer / tterminal / DisplayLine.java
index 3f2cfd75b5a0685b59c3e56ba7bd0327e9a41481..a243cdbbc3844e8b023b088c133548b942c3d115 100644 (file)
@@ -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