cols 134 src/simh/linehistory.c size_t cols; /* Number of columns in terminal. */ cols 304 src/simh/linehistory.c int cols, rows; cols 336 src/simh/linehistory.c if (sscanf(buf + 2, "%d;%d", &rows, &cols) != 2) cols 341 src/simh/linehistory.c return ( cols ); cols 353 src/simh/linehistory.c int start, cols; cols 368 src/simh/linehistory.c cols = getCursorPosition(ifd, ofd); cols 369 src/simh/linehistory.c if (cols == -1) cols 375 src/simh/linehistory.c if (cols > start) cols 378 src/simh/linehistory.c (void)snprintf(seq, sizeof ( seq ), "\x1b[%dD", cols - start); cols 382 src/simh/linehistory.c return ( cols ); cols 645 src/simh/linehistory.c if (hintsCallback && plen + l->len < l->cols) cols 652 src/simh/linehistory.c int hintmaxlen = l->cols - ( plen + l->len ); cols 708 src/simh/linehistory.c while (( plen + pos ) >= l->cols) cols 714 src/simh/linehistory.c while (plen + len > l->cols) cols 769 src/simh/linehistory.c int rows = ( plen + l->len + l->cols - 1 ) cols 770 src/simh/linehistory.c / l->cols; /* rows used by current buf. */ cols 771 src/simh/linehistory.c int rpos = ( plen + l->oldpos + l->cols ) / l->cols; /* cursor relative row. */ cols 836 src/simh/linehistory.c if (l->pos && l->pos == l->len && ( l->pos + plen ) % l->cols == 0) cols 849 src/simh/linehistory.c rpos2 = ( plen + l->pos + l->cols ) / l->cols; cols 859 src/simh/linehistory.c col = ( plen + (int)l->pos ) % (int)l->cols; cols 888 src/simh/linehistory.c l->cols = getColumns(STDIN_FILENO, STDOUT_FILENO); cols 916 src/simh/linehistory.c if (( !mlmode && l->plen + l->len < l->cols && !hintsCallback )) cols 1293 src/simh/linehistory.c l.cols = getColumns(stdin_fd, stdout_fd);