From 75675d8467dbb4eb0f23aef8e2cc53af8fb7b8ed Mon Sep 17 00:00:00 2001 From: cancel Date: Mon, 6 Jan 2020 06:00:11 +0900 Subject: [PATCH] Add TODO --- term_util.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/term_util.c b/term_util.c index bbf97b3..a389bc7 100644 --- a/term_util.c +++ b/term_util.c @@ -478,6 +478,11 @@ void qmenu_push_to_nav(Qmenu* qm) { qnav_stack_push(&qm->qblock, menu_min_h, menu_min_w); set_menu_win(qm->ncurses_menu, qm->qblock.outer_window); set_menu_sub(qm->ncurses_menu, qm->qblock.content_window); + // TODO use this to set how "big" the menu is, visually, for scrolling. + // (ncurses can't figure that out on its own, aparently...) + // We'll need to split apart some work chunks so that we calculate the size + // beforehand. + // set_menu_format(qm->ncurses_menu, 5, 1); post_menu(qm->ncurses_menu); }