mbox series

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

Message ID 20200112163339.218205-1-xypron.glpk@gmx.de
Headers show
Series cli: allow verbatim character entry with CTRL-v | expand

Message

Heinrich Schuchardt Jan. 12, 2020, 4:33 p.m. UTC
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