public unsafe Surface(XConsole.SMALL_COORD _size) { size = _size; length = size.x * size.y; cursor_x = cursor_y = 0; Buffer = new XConsole.CHAR_INFO[length]; }
public void Scroll(int x, int y) { scroll = new XConsole.SMALL_COORD((ushort)x, (ushort)y); }