cols 152 src/simh/linehistory.c size_t cols; /* Number of columns in terminal. */ cols 322 src/simh/linehistory.c int cols, rows; cols 354 src/simh/linehistory.c if (sscanf(buf + 2, "%d;%d", &rows, &cols) != 2) cols 359 src/simh/linehistory.c return ( cols ); cols 371 src/simh/linehistory.c int start, cols; cols 386 src/simh/linehistory.c cols = getCursorPosition(ifd, ofd); cols 387 src/simh/linehistory.c if (cols == -1) cols 393 src/simh/linehistory.c if (cols > start) cols 396 src/simh/linehistory.c (void)snprintf(seq, sizeof ( seq ), "\x1b[%dD", cols - start); cols 400 src/simh/linehistory.c return ( cols ); cols 663 src/simh/linehistory.c if (hintsCallback && plen + l->len < l->cols) cols 670 src/simh/linehistory.c int hintmaxlen = l->cols - ( plen + l->len ); cols 726 src/simh/linehistory.c while (( plen + pos ) >= l->cols) cols 732 src/simh/linehistory.c while (plen + len > l->cols) cols 787 src/simh/linehistory.c int rows = ( plen + l->len + l->cols - 1 ) cols 788 src/simh/linehistory.c / l->cols; /* rows used by current buf. */ cols 789 src/simh/linehistory.c int rpos = ( plen + l->oldpos + l->cols ) / l->cols; /* cursor relative row. */ cols 854 src/simh/linehistory.c if (l->pos && l->pos == l->len && ( l->pos + plen ) % l->cols == 0) cols 867 src/simh/linehistory.c rpos2 = ( plen + l->pos + l->cols ) / l->cols; cols 877 src/simh/linehistory.c col = ( plen + (int)l->pos ) % (int)l->cols; cols 906 src/simh/linehistory.c l->cols = getColumns(STDIN_FILENO, STDOUT_FILENO); cols 934 src/simh/linehistory.c if (( !mlmode && l->plen + l->len < l->cols && !hintsCallback )) cols 1311 src/simh/linehistory.c l.cols = getColumns(stdin_fd, stdout_fd);