[ipxe-devel] [PATCH] allow menu pointer to wrap-around

Michael Brown mbrown at fensystems.co.uk
Mon Aug 20 15:56:59 UTC 2012

On Sunday 19 Aug 2012 18:49:04 Ivan Shmakov wrote:
> 	Per my experience, menus of the common software and hardware
> 	typically allow for pointer to “go above” the first element,
> 	appearing at the bottom of the list, and vice versa.  Why not to
> 	implement the same behavior for iPXE menus?

Thanks for the patch.  I'm happy to introduce this as the default behaviour 
for iPXE, i.e. without any "#ifdef MENU_WRAP" conditionals.  (I try to avoid 
#ifdef wherever possible.)

Does the attached (untested) patch give you the behaviour you want?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipxe-menu-wrap.patch
Type: text/x-patch
Size: 1439 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20120820/43ab6399/attachment.bin>

More information about the ipxe-devel mailing list