[PATCH 0/2] cli: allow verbatim character entry with CTRL-v

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Jan 12 17:33:37 CET 2020


Up to now the U-Boot console does not allow to add a control character to
the line buffer. In Bash and Vim we can use CTRL-v for this purpose.

Add support for CTRL-v for verbatim entry of characters.

Heinrich Schuchardt (2):
  cli: allow verbatim character entry with CTRL-v
  test: verbatim character entry with CTRL-V

 common/cli_readline.c |  38 ++++++++++-
 test/dm/Makefile      |   2 +-
 test/dm/usb_console.c | 151 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 187 insertions(+), 4 deletions(-)
 create mode 100644 test/dm/usb_console.c

--
2.24.1



More information about the U-Boot mailing list