On Thu, Apr 11, 2019 at 10:00:51PM +0200, Gerd Hoffmann wrote: > On Thu, Apr 11, 2019 at 11:53:42AM -0400, Kevin O'Connor wrote: > > On Thu, Apr 11, 2019 at 08:54:01AM +0200, Gerd Hoffmann wrote: > > > In case more than 9 entries are found in the boot menu > > > switch into two digit mode, so entries 10 and above can > > > actually be selected. > > > > > > Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1693031 > > > > FWIW, I'm surprised there's enough people that have run into this. > > People ask rarely, but it keeps coming up now and then ... > > > printf("%c. %s\n", keycode_to_ascii(maxmenu) > > , strtcpy(desc, pos->description, ARRAY_SIZE(desc))); > > > > (And implement the corresponding keycode_to_ascii() in kbd.c.) > > > > If it's felt that a numeric entry is necessary, > > Using letter keys works for me too, and keeping the one keypress > selection logic is easier. v2 follows in a moment ...
Unfortunately, it looks like 13 and 14 are unprintable characters (backspace and tab). :-( -Kevin _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-le...@seabios.org