cols 138 src/simh/linehistory.c size_t cols; /* Number of columns in terminal. */ cols 297 src/simh/linehistory.c int cols, rows; cols 329 src/simh/linehistory.c if (sscanf(buf + 2, "%d;%d", &rows, &cols) != 2) cols 334 src/simh/linehistory.c return ( cols ); cols 346 src/simh/linehistory.c int start, cols; cols 361 src/simh/linehistory.c cols = getCursorPosition(ifd, ofd); cols 362 src/simh/linehistory.c if (cols == -1) cols 368 src/simh/linehistory.c if (cols > start) cols 371 src/simh/linehistory.c snprintf(seq, sizeof ( seq ), "\x1b[%dD", cols - start); cols 377 src/simh/linehistory.c return ( cols ); cols 639 src/simh/linehistory.c if (hintsCallback && plen + l->len < l->cols) cols 646 src/simh/linehistory.c int hintmaxlen = l->cols - ( plen + l->len ); cols 702 src/simh/linehistory.c while (( plen + pos ) >= l->cols) cols 708 src/simh/linehistory.c while (plen + len > l->cols) cols 763 src/simh/linehistory.c int rows = ( plen + l->len + l->cols - 1 ) cols 764 src/simh/linehistory.c / l->cols; /* rows used by current buf. */ cols 765 src/simh/linehistory.c int rpos = ( plen + l->oldpos + l->cols ) / l->cols; /* cursor relative row. */ cols 830 src/simh/linehistory.c if (l->pos && l->pos == l->len && ( l->pos + plen ) % l->cols == 0) cols 843 src/simh/linehistory.c rpos2 = ( plen + l->pos + l->cols ) / l->cols; cols 853 src/simh/linehistory.c col = ( plen + (int)l->pos ) % (int)l->cols; cols 882 src/simh/linehistory.c l->cols = getColumns(STDIN_FILENO, STDOUT_FILENO); cols 910 src/simh/linehistory.c if (( !mlmode && l->plen + l->len < l->cols && !hintsCallback )) cols 1291 src/simh/linehistory.c l.cols = getColumns(stdin_fd, stdout_fd);