[PATCH 0/5] console: escape sequence handling improvement

Sascha Hauer s.hauer at pengutronix.de
Mon Nov 9 01:50:28 PST 2026


On Sun, 08 Nov 2026 10:32:02 +0100, Ahmad Fatoum wrote:
> The v2026.07.0 update broke arrow key usage in the web demo for some
> users. Proper fix is on the riscvemu side, but there's still some things
> we can do at the barebox side to make escape sequence handling more
> robust.
> 
> Ahmad Fatoum (5):
>   readkey: wait for the rest of an escape sequence
>   lib: term: ask the terminal when a console can't tell its size
>   serial: virtio_console: report the console size
>   console: give each console implementation its own console_ctrlc()
>   console: keep the keys typed ahead when checking for Ctrl-C
> 
> [...]

Applied, thanks!

[1/5] readkey: wait for the rest of an escape sequence
      https://git.pengutronix.de/cgit/barebox/commit/?id=817a1128a2a7 (link may not be stable)
[2/5] lib: term: ask the terminal when a console can't tell its size
      https://git.pengutronix.de/cgit/barebox/commit/?id=d4f6a1c064ee (link may not be stable)
[3/5] serial: virtio_console: report the console size
      https://git.pengutronix.de/cgit/barebox/commit/?id=05234d4bd72b (link may not be stable)
[4/5] console: give each console implementation its own console_ctrlc()
      https://git.pengutronix.de/cgit/barebox/commit/?id=39276e6d6023 (link may not be stable)
[5/5] console: keep the keys typed ahead when checking for Ctrl-C
      https://git.pengutronix.de/cgit/barebox/commit/?id=961f0d11ac4d (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list