Searched refs:total_rows (Results 1 – 1 of 1) sorted by relevance
62 int total_rows, total_cols; in NCURSES_EXPORT() local89 total_rows = (menu->nitems - 1) / cols + 1; in NCURSES_EXPORT()92 (menu->nitems - 1) / total_rows + 1; in NCURSES_EXPORT()94 menu->rows = (short)total_rows; in NCURSES_EXPORT()96 menu->arows = (short)minimum(total_rows, rows); in NCURSES_EXPORT()