server/telnet: Handle Ctrl+K 68/5868/4 master
authorBrian Brooks <brooks.brian@gmail.com>
Sun, 18 Oct 2020 13:37:09 +0000 (08:37 -0500)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 24 Oct 2020 22:25:33 +0000 (23:25 +0100)
commit9e2a0effb2b7b933db00543f1e6879541707a2f3
tree51b7a57dc97e7831c2f85ff4f0074062ff83fc60
parent0d3a67b23f7848584a36712741252a73b03ae3a5
server/telnet: Handle Ctrl+K

Handle Ctrl+K shortcut which clears the line from the cursor position
to the end of line.

Change-Id: I2ecff5284473cef7c11cf9cb7e1c0c97d55f6c1c
Signed-off-by: Brian Brooks <brooks.brian@gmail.com>
Reviewed-on: http://openocd.zylin.com/5868
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
Reviewed-by: Marc Schink <dev@zapb.de>
src/server/telnet_server.c