]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[hci] Allow tab key to be used to cycle through UI elements
authorMichael Brown <mcb30@ipxe.org>
Thu, 20 Jun 2024 19:21:57 +0000 (12:21 -0700)
committerMichael Brown <mcb30@ipxe.org>
Thu, 20 Jun 2024 20:14:35 +0000 (13:14 -0700)
commit122777f789a68512593e4aa6da3ace3d0d8664ec
tree25e8fc721b355c45e6e10d53f9866e32369f05b2
parent76e0933d781474acf52000cba0afaebe32361667
[hci] Allow tab key to be used to cycle through UI elements

Add support for wraparound scrolling and allow the tab key to be used
to move forward through a list of elements, wrapping back around to
the beginning of the list on overflow.

This is mildly useful for a menu, and likely to be a strong user
expectation for an interactive form.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/hci/jumpscroll.c
src/hci/tui/menu_ui.c
src/hci/tui/settings_ui.c
src/include/ipxe/jumpscroll.h