Home | History | Annotate | Download | only in src

Lines Matching refs:cols

64   state->cols = vt->cols;
87 if(rect.start_col == 0 && rect.end_col == state->cols && rightward == 0) {
1034 rect.start_col = state->pos.col; rect.end_col = state->cols;
1048 rect.start_col = 0; rect.end_col = state->cols;
1062 rect.start_col = 0; rect.end_col = state->cols;
1232 for(col = 0; col < state->cols; col++)
1375 UBOUND(state->scrollregion_left, state->cols);
1377 if(state->scrollregion_left == 0 && state->scrollregion_right == state->cols)
1380 UBOUND(state->scrollregion_right, state->cols);
1515 static int on_resize(int rows, int cols, void *user)
1520 if(cols != state->cols) {
1521 unsigned char *newtabstops = vterm_allocator_malloc(state->vt, (cols + 7) / 8);
1525 for(col = 0; col < state->cols && col < cols; col++) {
1533 for( ; col < cols; col++) {
1564 state->cols = cols;
1569 (*state->callbacks->resize)(rows, cols, &delta, state->cbdata);
1571 if(state->at_phantom && state->pos.col < cols-1) {
1581 if(state->pos.col >= cols)
1582 state->pos.col = cols - 1;
1610 state->tabstops = vterm_allocator_malloc(state->vt, (state->cols + 7) / 8);
1641 for(int col = 0; col < state->cols; col++)
1681 VTermRect rect = { 0, state->rows, 0, state->cols };
1738 .end_col = state->cols,