telnet_server: support C-p, C-n for moving through history
commit4264431824f1e3c5fdd7e5fb417c4edad5aa3343
authorPaul Fertser <fercerpav@gmail.com>
Fri, 3 May 2013 13:19:43 +0000 (3 17:19 +0400)
committerFreddie Chopin <freddie.chopin@gmail.com>
Wed, 8 May 2013 14:54:29 +0000 (8 14:54 +0000)
tree2b099e80ad0395168507decbf21657d5b2d3aa72
parentca332fd532388ffb13c5f190379de8b2698389e7
telnet_server: support C-p, C-n for moving through history

This modifies telnet server to allow using common readline combinations to
move up/down history, without the need to touch cursor keys.

Change-Id: Ib659075883e91794b44f391f7c29bbdfdd679d10
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1376
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/server/telnet_server.c