libbb/lineedit: implement optional Ctrl-R history search
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 11 Jul 2011 05:36:59 +0000 (07:36 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 11 Jul 2011 05:36:59 +0000 (07:36 +0200)
commita669eca3a230e35e4a6894a30168a047000f3b75
tree3de2585731b58cf8da6f376324369e49dd243fd8
parent98f213ed7940d70a5ba7ea502469e51da8b0a2b0
libbb/lineedit: implement optional Ctrl-R history search

function                                             old     new   delta
read_line_input                                     3433    3957    +524
load_string                                           77      90     +13
input_tab                                           1086    1069     -17
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 537/-17)           Total: 520 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/Config.src
libbb/lineedit.c