projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
073beb0
)
Fix CUI scroll
author
Geoff Levand
<geoffrey.levand@am.sony.com>
Thu, 9 Jul 2009 17:40:44 +0000
(10:40 -0700)
committer
Geoff Levand
<geoffrey.levand@am.sony.com>
Thu, 9 Jul 2009 17:40:44 +0000
(10:40 -0700)
A call to pos_menu_cursor() is needed when items are added
to menu.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
ui/ncurses/nc-cui.c
patch
|
blob
|
history
diff --git
a/ui/ncurses/nc-cui.c
b/ui/ncurses/nc-cui.c
index 47c09e2e73e1326d43d39c354af81135bc9635b4..83e29392249cee84c1cef3f19f0fdbd80bcb60c7 100644
(file)
--- a/
ui/ncurses/nc-cui.c
+++ b/
ui/ncurses/nc-cui.c
@@
-366,6
+366,9
@@
static int cui_device_add(struct device *dev, void *arg)
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)