Home | History | Annotate | Download | only in src

Lines Matching refs:cols

56   int cols;
75 if(col < 0 || col >= screen->cols)
77 return screen->buffer + (screen->cols * row) + col;
88 if(buffer && row < screen->rows && col < screen->cols)
89 *new_cell = buffer[row * screen->cols + col];
166 .end_col = screen->cols,
213 dest.end_col == screen->cols && // full width
217 for(pos.col = 0; pos.col < screen->cols; pos.col++)
220 (screen->callbacks->sb_pushline)(screen->cols, screen->sb_buffer, screen->cbdata);
224 int cols = src.end_col - src.start_col;
242 cols * sizeof(ScreenCell));
487 int old_cols = screen->cols;
519 screen->cols = new_cols;
540 if(!(screen->callbacks->sb_popline(screen->cols, screen->sb_buffer, screen->cbdata)))
547 .end_col = screen->cols,
552 for(pos.col = 0; pos.col < screen->cols; pos.col += screen->sb_buffer[pos.col].width)
586 for(int col = 0; col < screen->cols; col++) {
596 .end_col = newinfo->doublewidth ? screen->cols / 2 : screen->cols,
601 rect.start_col = screen->cols / 2;
602 rect.end_col = screen->cols;
631 int rows, cols;
633 vterm_get_size(vt, &rows, &cols);
643 screen->cols = cols;
645 screen->buffers[0] = realloc_buffer(screen, NULL, rows, cols);
649 screen->sb_buffer = vterm_allocator_malloc(screen->vt, sizeof(VTermScreenCell) * cols);
762 if(pos.col < (screen->cols - 1) &&
805 for(; pos.col < screen->cols; pos.col++) {
829 int rows, cols;
830 vterm_get_size(screen->vt, &rows, &cols);
832 screen->buffers[1] = realloc_buffer(screen, NULL, rows, cols);
900 extent->end_col = screen->cols;