A call to pos_menu_cursor() is needed when items are added to menu. Signed-off-by: Geoff Levand --- ui/ncurses/nc-cui.c | 3 +++ 1 file changed, 3 insertions(+) --- a/ui/ncurses/nc-cui.c +++ b/ui/ncurses/nc-cui.c @@ -366,6 +366,9 @@ static int cui_device_add(struct device item_count(cui->main->ncm) + 1); } + /* FIXME: need to make item visible somehow */ + menu_driver(cui->main->ncm, REQ_SCR_UPAGE); + menu_driver(cui->main->ncm, REQ_SCR_DPAGE); set_current_item(cui->main->ncm, selected); if (cui->current == &cui->main->scr)