summaryrefslogtreecommitdiff
path: root/libbb/Config.src
diff options
context:
space:
mode:
authorDenys Vlasenko2011-07-11 07:36:59 +0200
committerDenys Vlasenko2011-07-11 07:36:59 +0200
commita669eca3a230e35e4a6894a30168a047000f3b75 (patch)
tree3de2585731b58cf8da6f376324369e49dd243fd8 /libbb/Config.src
parent98f213ed7940d70a5ba7ea502469e51da8b0a2b0 (diff)
downloadbusybox-a669eca3a230e35e4a6894a30168a047000f3b75.zip
busybox-a669eca3a230e35e4a6894a30168a047000f3b75.tar.gz
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>
Diffstat (limited to 'libbb/Config.src')
-rw-r--r--libbb/Config.src8
1 files changed, 8 insertions, 0 deletions
diff --git a/libbb/Config.src b/libbb/Config.src
index 0ea8f43..aa44236 100644
--- a/libbb/Config.src
+++ b/libbb/Config.src
@@ -94,6 +94,14 @@ config FEATURE_EDITING_SAVEHISTORY
help
Enable history saving in shells.
+config FEATURE_REVERSE_SEARCH
+ bool "Reverse history search"
+ default y
+ depends on FEATURE_EDITING_SAVEHISTORY
+ help
+ Enable readline-like Ctrl-R combination for reverse history search.
+ Increases code by about 0.5k.
+
config FEATURE_TAB_COMPLETION
bool "Tab completion"
default y