web-device-cli
web-device-cli copied to clipboard
Send \x08 instead of \x7f when pressing backspace
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.
Was hoping someone had the same issue. Started using and couldn't backspace. Should merge
See also #7
how does this pull help, I don't know, I opened my solution.