Home | History | Annotate | Download | only in src

Lines Matching refs:cols

54   int cols;
73 if(col < 0 || col >= screen->cols)
75 return screen->buffer + (screen->cols * row) + col;
86 if(buffer && row < screen->rows && col < screen->cols)
87 *new_cell = buffer[row * screen->cols + col];
164 .end_col = screen->cols,
209 dest.end_col == screen->cols && // full width
213 for(pos.col = 0; pos.col < screen->cols; pos.col++)
216 (screen->callbacks->sb_pushline)(screen->cols, screen->sb_buffer, screen->cbdata);
220 int cols = src.end_col - src.start_col;
238 cols * sizeof(ScreenCell));
478 int old_cols = screen->cols;
510 screen->cols = new_cols;
531 if(!(screen->callbacks->sb_popline(screen->cols, screen->sb_buffer, screen->cbdata)))
538 .end_col = screen->cols,
543 for(pos.col = 0; pos.col < screen->cols; pos.col += screen->sb_buffer[pos.col].width)
590 int rows, cols;
592 vterm_get_size(vt, &rows, &cols);
602 screen->cols = cols;
604 screen->buffers[0] = realloc_buffer(screen, NULL, rows, cols);
608 screen->sb_buffer = vterm_allocator_malloc(screen->vt, sizeof(VTermScreenCell) * cols);
718 if(pos.col < (screen->cols - 1) &&
761 for(; pos.col < screen->cols; pos.col++) {
785 int rows, cols;
786 vterm_get_size(screen->vt, &rows, &cols);
788 screen->buffers[1] = realloc_buffer(screen, NULL, rows, cols);
856 extent->end_col = screen->cols;