cols 143 src/simh/linehistory.c size_t cols; /* Number of columns in terminal. */ cols 302 src/simh/linehistory.c int cols, rows; cols 334 src/simh/linehistory.c if (sscanf(buf + 2, "%d;%d", &rows, &cols) != 2) cols 339 src/simh/linehistory.c return ( cols ); cols 351 src/simh/linehistory.c int start, cols; cols 366 src/simh/linehistory.c cols = getCursorPosition(ifd, ofd); cols 367 src/simh/linehistory.c if (cols == -1) cols 373 src/simh/linehistory.c if (cols > start) cols 376 src/simh/linehistory.c snprintf(seq, sizeof ( seq ), "\x1b[%dD", cols - start); cols 382 src/simh/linehistory.c return ( cols ); cols 644 src/simh/linehistory.c if (hintsCallback && plen + l->len < l->cols) cols 651 src/simh/linehistory.c int hintmaxlen = l->cols - ( plen + l->len ); cols 707 src/simh/linehistory.c while (( plen + pos ) >= l->cols) cols 713 src/simh/linehistory.c while (plen + len > l->cols) cols 768 src/simh/linehistory.c int rows = ( plen + l->len + l->cols - 1 ) cols 769 src/simh/linehistory.c / l->cols; /* rows used by current buf. */ cols 770 src/simh/linehistory.c int rpos = ( plen + l->oldpos + l->cols ) / l->cols; /* cursor relative row. */ cols 835 src/simh/linehistory.c if (l->pos && l->pos == l->len && ( l->pos + plen ) % l->cols == 0) cols 848 src/simh/linehistory.c rpos2 = ( plen + l->pos + l->cols ) / l->cols; cols 858 src/simh/linehistory.c col = ( plen + (int)l->pos ) % (int)l->cols; cols 887 src/simh/linehistory.c l->cols = getColumns(STDIN_FILENO, STDOUT_FILENO); cols 915 src/simh/linehistory.c if (( !mlmode && l->plen + l->len < l->cols && !hintsCallback )) cols 1296 src/simh/linehistory.c l.cols = getColumns(stdin_fd, stdout_fd);