mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/5] console: escape sequence handling improvement
@ 2026-11-08  9:32 Ahmad Fatoum
  2026-11-08  9:32 ` [PATCH 1/5] readkey: wait for the rest of an escape sequence Ahmad Fatoum
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ahmad Fatoum @ 2026-11-08  9:32 UTC (permalink / raw)
  To: barebox

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

 common/console.c                | 35 +++++++++++++++++++++++++++++++++
 common/console_ctrlc.c          | 10 ++++------
 common/console_simple.c         | 10 ++++++++++
 drivers/serial/virtio_console.c | 27 +++++++++++++++++++++++++
 include/console.h               |  4 ++--
 lib/readkey.c                   |  4 +++-
 lib/term.c                      |  5 +++--
 7 files changed, 84 insertions(+), 11 deletions(-)

-- 
2.47.3




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-09 10:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-08  9:32 [PATCH 0/5] console: escape sequence handling improvement Ahmad Fatoum
2026-11-08  9:32 ` [PATCH 1/5] readkey: wait for the rest of an escape sequence Ahmad Fatoum
2026-11-08  9:32 ` [PATCH 2/5] lib: term: ask the terminal when a console can't tell its size Ahmad Fatoum
2026-11-08  9:32 ` [PATCH 3/5] serial: virtio_console: report the console size Ahmad Fatoum
2026-11-08  9:32 ` [PATCH 4/5] console: give each console implementation its own console_ctrlc() Ahmad Fatoum
2026-11-08  9:32 ` [PATCH 5/5] console: keep the keys typed ahead when checking for Ctrl-C Ahmad Fatoum
2026-11-09  9:50 ` [PATCH 0/5] console: escape sequence handling improvement Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox