Lines Matching refs:col
69 static inline ScreenCell *getcell(const VTermScreen *screen, int row, int col)
73 if(col < 0 || col >= screen->cols)
75 return screen->buffer + (screen->cols * row) + col;
83 for(int col = 0; col < new_cols; col++) {
84 ScreenCell *new_cell = new_buffer + row*new_cols + col;
86 if(buffer && row < screen->rows && col < screen->cols)
87 *new_cell = buffer[row * screen->cols + col];
173 ScreenCell *cell = getcell(screen, pos.row, pos.col);
186 for(int col = 1; col < info->width; col++)
187 getcell(screen, pos.row, pos.col + col)->chars[0] = (uint32_t)-1;
192 .start_col = pos.col,
193 .end_col = pos.col+info->width,
213 for(pos.col = 0; pos.col < screen->cols; pos.col++)
214 vterm_screen_get_cell(screen, pos, screen->sb_buffer + pos.col);
266 for(int col = rect.start_col; col < rect.end_col; col++) {
267 ScreenCell *cell = getcell(screen, row, col);
543 for(pos.col = 0; pos.col < screen->cols; pos.col += screen->sb_buffer[pos.col].width)
544 vterm_screen_set_cell(screen, pos, screen->sb_buffer + pos.col);
655 for(int col = rect.start_col; col < rect.end_col; col++) {
656 ScreenCell *cell = getcell(screen, row, col);
697 ScreenCell *intcell = getcell(screen, pos.row, pos.col);
718 if(pos.col < (screen->cols - 1) &&
719 getcell(screen, pos.row, pos.col + 1)->chars[0] == (uint32_t)-1)
731 ScreenCell *intcell = getcell(screen, pos.row, pos.col);
753 getcell(screen, pos.row, pos.col + 1)->chars[0] = (uint32_t)-1;
761 for(; pos.col < screen->cols; pos.col++) {
762 ScreenCell *cell = getcell(screen, pos.row, pos.col);
847 ScreenCell *target = getcell(screen, pos.row, pos.col);
858 int col;
860 for(col = pos.col - 1; col >= extent->start_col; col--)
861 if(attrs_differ(attrs, target, getcell(screen, pos.row, col)))
863 extent->start_col = col + 1;
865 for(col = pos.col + 1; col < extent->end_col; col++)
866 if(attrs_differ(attrs, target, getcell(screen, pos.row, col)))
868 extent->end_col = col - 1;