summaryrefslogtreecommitdiffstats
path: root/discover/udev.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-03-03 18:15:31 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-03-03 18:15:31 +0800
commit67d0ca0764e5ab9a0d0e5baa5bf062d0ac5c8596 (patch)
treed9cbfa9de19a06bfcd7b633884202041974361e8 /discover/udev.c
parent5a604632c54671d65ccb3398a928c0c38c5f13ad (diff)
downloadpetitboot-67d0ca0764e5ab9a0d0e5baa5bf062d0ac5c8596.zip
petitboot-67d0ca0764e5ab9a0d0e5baa5bf062d0ac5c8596.tar.gz
ui/ncurses: Ensure that the selected menu item is visible
When adding new items to the petitboot menu, we need to ensure that the scroll position of the menu includes the currently-selected item. This change adds a call to set_top_row, calculated from the selected item index, and the number of rows in the menu. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/udev.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud