CellBuffer.resize

Resize the cell buffer. Existing contents will be preserved, provided that they still fit. Contents that no longer fit will be clipped (lost). Newly added cells will be initialized to empty content. The entire set of contents are marked dirty, because presumably everything needs to be redrawn when this happens.

  1. void resize(Coord size)
    class CellBuffer
    void
    resize
  2. void resize(int cols, int rows)

Meta