Home
last modified time | relevance | path

Searched refs:rows (Results 1 – 4 of 4) sorted by relevance

/third_party/ulib/linenoise/
A Dlinenoise.c205 (int)l->len,(int)l->pos,(int)l->oldpos,plen,rows,rpos, \
290 int cols, rows; in getCursorPosition() local
312 if (sscanf(buf+2,"%d;%d",&rows,&cols) != 2) return -1; in getCursorPosition()
603 int rows = (plen+l->len+l->cols-1)/l->cols; /* rows used by current buf. */ local
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);
A DREADME.markdown95 screens rows are used, can be a lot more comfortable.
/third_party/uapp/kilo/
A Dkilo.c63 static int getConsoleSize(int *rows, int *cols) { in getConsoleSize() argument
69 *rows = wsz.height; in getConsoleSize()
322 int getCursorPosition(int ifd, int ofd, int *rows, int *cols) { in getCursorPosition() argument
339 if (sscanf(buf+2,"%d;%d",rows,cols) != 2) return -1; in getCursorPosition()
346 int getWindowSize(int ifd, int ofd, int *rows, int *cols) { argument
348 if (getConsoleSize(rows, cols) == 0) {
364 retval = getCursorPosition(ifd,ofd,rows,cols);
377 *rows = ws.ws_row;
/third_party/ulib/chromiumos-platform-ec/include/chromiumos-platform-ec/
A Dec_commands.h2802 uint32_t rows; member

Completed in 32 milliseconds