mirror of
https://github.com/ipxe/ipxe
synced 2026-03-16 03:02:07 +03:00
[console] Add a timeout parameter to getkey()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -401,7 +401,7 @@ static int main_loop ( struct settings *settings ) {
|
||||
draw_setting ( &widget );
|
||||
color_set ( CPAIR_NORMAL, NULL );
|
||||
|
||||
key = getkey();
|
||||
key = getkey ( 0 );
|
||||
if ( widget.editing ) {
|
||||
key = edit_setting ( &widget, key );
|
||||
switch ( key ) {
|
||||
|
||||
Reference in New Issue
Block a user