lineedit: add support for M-b, M-f, M-d, M-Backspace
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 3 Nov 2011 12:28:22 +0000 (13:28 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 3 Nov 2011 12:28:22 +0000 (13:28 +0100)
commit9ce09bc9cb7743f87eb3e536c81d8c303e12bc81
treead65a2f47136af7a730b630c4e08532c02ff0fb6
parent45cdf166dccb4981004bae822f52e48df05aab91
lineedit: add support for M-b, M-f, M-d, M-Backspace

function                                             old     new   delta
ctrl_left                                              -      96     +96
ctrl_right                                             -      76     +76
static.esccmds                                        81      93     +12
read_line_input                                     3876    3885      +9
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 2/0 up/down: 193/0)             Total: 193 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/libbb.h
libbb/lineedit.c
libbb/read_key.c