server/telnet: Handle Ctrl+A and Ctrl+E 15/3415/2
authorMarc Schink <openocd-dev@marcschink.de>
Sun, 4 Oct 2015 18:21:00 +0000 (20:21 +0200)
committerPaul Fertser <fercerpav@gmail.com>
Sat, 13 Jan 2018 09:41:26 +0000 (09:41 +0000)
commite0010c3e6fe09d9d332b279e661858fc449c0645
tree29025c15b5d31caa8e6684538961b44a231aa64b
parent9cd74c113c3a92dd41485ad4d9ba0a275682712b
server/telnet: Handle Ctrl+A and Ctrl+E

Handle the Ctrl+A and Ctrl+E shortcuts which move the cursor to the
beginning and end of the command line, respectively.

Change-Id: I89fa5fd3c5edeb08a3f9320fda766f72ce9d7f64
Signed-off-by: Marc Schink <openocd-dev@marcschink.de>
Reviewed-on: http://openocd.zylin.com/3415
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/server/telnet_server.c