Searched refs:win_width (Results 1 – 1 of 1) sorted by relevance
544 size_t i, win_width, prog_start, prog_done, prog_end; in print_progress() local593 win_width = min(winsize.ws_col, len); in print_progress()596 if (prog_start < (win_width - 2)) { in print_progress()597 prog_end = win_width - prog_start - 2; in print_progress()611 for (; i < win_width - 2; i++) in print_progress()614 prog_buf[win_width - 2] = '|'; in print_progress()617 prog_buf[win_width - 1] = '\0'; in print_progress()618 write(STDOUT_FILENO, prog_buf, win_width); in print_progress()