[PATCH] menu: Move shortcut-key handling to bootmenu_loop()

Tom Rini trini at konsulko.com
Fri Feb 13 15:50:00 CET 2026


On Fri, Feb 13, 2026 at 06:39:09AM -0700, Simon Glass wrote:

> The bootmenu_conv_key() function is shared with expo subsystem for key
> input. Adding alphanumeric-to-BKEY_SHORTCUT conversion there causes expo
> to swallow typed characters instead of inserting them as text, since
> BKEY_SHORTCUT falls in the range that expo treats as a command key
> rather than passing through.
> 
> Move the shortcut-key detection into bootmenu_loop() where it is
> only used in the bootmenu context.
> 
> Fixes: 8c986521c3c9 ("cmd: bootmenu: permit to select bootmenu entry with a shortcut")
> Signed-off-by: Simon Glass <simon.glass at canonical.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260213/e5a2c59f/attachment.sig>


More information about the U-Boot mailing list