Searched refs:win_width (Results 1 – 1 of 1) sorted by relevance
545 size_t i, win_width, prog_start, prog_done, prog_end; in print_progress() local594 win_width = min(winsize.ws_col, len); in print_progress()597 if (prog_start < (win_width - 2)) { in print_progress()598 prog_end = win_width - prog_start - 2; in print_progress()612 for (; i < win_width - 2; i++) in print_progress()615 prog_buf[win_width - 2] = '|'; in print_progress()618 prog_buf[win_width - 1] = '\0'; in print_progress()619 write(STDOUT_FILENO, prog_buf, win_width); in print_progress()