ScreenCell
ScreenCell *cell = getcell(screen, pos.row, pos.col);
cols * sizeof(ScreenCell));
ScreenCell *cell = getcell(screen, row, col);
ScreenCell *cell = getcell(screen, row, col);
ScreenCell *buffers[2];
ScreenCell *buffer;
ScreenCell *cell = getcell(screen, row, col);
static inline ScreenCell *getcell(const VTermScreen *screen, int row, int col)
ScreenCell *intcell = getcell(screen, pos.row, pos.col);
ScreenCell *intcell = getcell(screen, pos.row, pos.col);
static ScreenCell *realloc_buffer(VTermScreen *screen, ScreenCell *buffer, int new_rows, int new_cols)
ScreenCell *cell = getcell(screen, pos.row, pos.col);
ScreenCell *new_buffer = vterm_allocator_malloc(screen->vt, sizeof(ScreenCell) * new_rows * new_cols);
ScreenCell *new_cell = new_buffer + row*new_cols + col;
static int attrs_differ(VTermAttrMask attrs, ScreenCell *a, ScreenCell *b)
ScreenCell *target = getcell(screen, pos.row, pos.col);