web-device-cli icon indicating copy to clipboard operation
web-device-cli copied to clipboard

Send \x08 instead of \x7f when pressing backspace

Open meggiman opened this issue 5 years ago • 2 comments

By default, hterm sends the ASCII Delete character (\x7f) when hitting the backspace key. This is incompatible with the behavior of the nrf_cli library which only reacts on the backspace key (\x08). The result is that typos when entering stuff in the web-cli cannot be deleted from the command line. With the command below, we instruct hterm to actually emit the \x08 character when backspace is typed.

meggiman avatar Apr 17 '20 23:04 meggiman

Was hoping someone had the same issue. Started using and couldn't backspace. Should merge

posipunk avatar Jul 23 '20 23:07 posipunk

See also #7

how does this pull help, I don't know, I opened my solution.

narfster avatar Jul 07 '21 07:07 narfster