Home
last modified time | relevance | path

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

/redis-3.2.3/deps/linenoise/
H A Dlinenoise.c264 int cols, rows; in getCursorPosition() local
281 return cols; in getCursorPosition()
291 int start, cols; in getColumns() local
300 if (cols == -1) goto failed; in getColumns()
303 if (cols > start) { in getColumns()
310 return cols; in getColumns()
511 while((plen+pos) >= l->cols) { in refreshSingleLine()
516 while (plen+len > l->cols) { in refreshSingleLine()
546 int rows = (plen+l->len+l->cols-1)/l->cols; /* rows used by current buf. */ in refreshMultiLine()
547 int rpos = (plen+l->oldpos+l->cols)/l->cols; /* cursor relative row. */ in refreshMultiLine()
[all …]