ref: 75675d8467dbb4eb0f23aef8e2cc53af8fb7b8ed
parent: 10bcc7adcfd5e0e980bb156de8a38fe5a6484a33
author: cancel <cancel@cancel.fm>
date: Mon Jan 6 01:00:11 EST 2020
Add TODO
--- a/term_util.c
+++ b/term_util.c
@@ -478,6 +478,11 @@
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);
}