Hi,

The arrow keys would not work in my ipxe serial console.

The following seems to fix it but causes a busy wait while reading escape
sequences.


diff --git a/src/core/getkey.c b/src/core/getkey.c
index d69cfb4..441b9d9 100644
--- a/src/core/getkey.c
+++ b/src/core/getkey.c
@@ -47,7 +47,7 @@ static int getchar_timeout ( unsigned long timeout ) {
                step();
                if ( iskey() )
                        return getchar();
-               cpu_nap();
+               //cpu_nap();
        }

        return -1;

------
Thanks

Peter
_______________________________________________
ipxe-devel mailing list
[email protected]
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to