Lines Matching refs:rows
160 size_t maxrows; /* Maximum num of rows used so far (multiline mode) */
204 "[%d %d %d] p: %d, rows: %d, rpos: %d, max: %d, oldmax: %d\n", \
205 (int)l->len,(int)l->pos,(int)l->oldpos,plen,rows,rpos, \
290 int cols, rows;
296 /* Read the response: ESC [ rows ; cols R */
312 if (sscanf(buf+2,"%d;%d",&rows,&cols) != 2) return -1;
603 int rows = (plen+l->len+l->cols-1)/l->cols; /* rows used by current buf. */
612 if (rows > (int)l->maxrows) l->maxrows = rows;
652 rows++;
653 if (rows > (int)l->maxrows) l->maxrows = rows;
661 if (rows-rpos2 > 0) {
662 lndebug("go-up %d", rows-rpos2);
663 snprintf(seq,64,"\x1b[%dA", rows-rpos2);