Lines Matching defs:term_width
141 int term_width; /* The width of the terminal (characters) */
152 static void cpl_plan_listing(CplMatches *result, int term_width,
621 * term_width int The width of the terminal.
626 int cpl_list_completions(CplMatches *result, FILE *fp, int term_width)
628 return _cpl_output_completions(result, _io_write_stdio, fp, term_width);
640 * term_width int The width of the terminal.
646 int term_width)
653 if(term_width < 1)
662 cpl_plan_listing(result, term_width, &fmt);
1025 * term_width int The width of the terminal. A lower limit of
1031 static void cpl_plan_listing(CplMatches *result, int term_width,
1037 * Ensure that term_width >= 0.
1039 if(term_width < 0)
1040 term_width = 0;
1045 fmt->term_width = term_width;
1068 fmt->ncol = fmt->term_width / (fmt->column_width + CPL_COL_SEP);