internal LogBuffer(int2 size) { m_Surface = new CellSurface(size); m_Cursor = default; m_Fg = ColorIndex.White; m_Bg = ColorIndex.Black; CellSurface.Clear(ref m_Surface, new Cell { fg = m_Fg, bg = m_Bg, rune = new Unicode.Rune { value = ' ' } }); }
internal unsafe void ClearCells() { m_Screen.Clear(); }