cols 141 src/simh/linehistory.c size_t cols; /* Number of columns in terminal. */ cols 311 src/simh/linehistory.c int cols, rows; cols 343 src/simh/linehistory.c if (sscanf(buf + 2, "%d;%d", &rows, &cols) != 2) cols 348 src/simh/linehistory.c return ( cols ); cols 360 src/simh/linehistory.c int start, cols; cols 375 src/simh/linehistory.c cols = getCursorPosition(ifd, ofd); cols 376 src/simh/linehistory.c if (cols == -1) cols 382 src/simh/linehistory.c if (cols > start) cols 385 src/simh/linehistory.c (void)snprintf(seq, sizeof ( seq ), "\x1b[%dD", cols - start); cols 389 src/simh/linehistory.c return ( cols ); cols 652 src/simh/linehistory.c if (hintsCallback && plen + l->len < l->cols) cols 659 src/simh/linehistory.c int hintmaxlen = l->cols - ( plen + l->len ); cols 715 src/simh/linehistory.c while (( plen + pos ) >= l->cols) cols 721 src/simh/linehistory.c while (plen + len > l->cols) cols 776 src/simh/linehistory.c int rows = ( plen + l->len + l->cols - 1 ) cols 777 src/simh/linehistory.c / l->cols; /* rows used by current buf. */ cols 778 src/simh/linehistory.c int rpos = ( plen + l->oldpos + l->cols ) / l->cols; /* cursor relative row. */ cols 843 src/simh/linehistory.c if (l->pos && l->pos == l->len && ( l->pos + plen ) % l->cols == 0) cols 856 src/simh/linehistory.c rpos2 = ( plen + l->pos + l->cols ) / l->cols; cols 866 src/simh/linehistory.c col = ( plen + (int)l->pos ) % (int)l->cols; cols 895 src/simh/linehistory.c l->cols = getColumns(STDIN_FILENO, STDOUT_FILENO); cols 923 src/simh/linehistory.c if (( !mlmode && l->plen + l->len < l->cols && !hintsCallback )) cols 1300 src/simh/linehistory.c l.cols = getColumns(stdin_fd, stdout_fd);