lineedit: add support for history saving on exit

Based on the patch by Dennis Groenen <tj.groenen@gmail.com>

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2011-09-04 16:12:33 +02:00
parent 4840ae8a06
commit bede215cf1
5 changed files with 86 additions and 6 deletions

View File

@ -94,6 +94,13 @@ config FEATURE_EDITING_SAVEHISTORY
help
Enable history saving in shells.
config FEATURE_EDITING_SAVE_ON_EXIT
bool "Save history on shell exit, not after every command"
default n
depends on FEATURE_EDITING_SAVEHISTORY
help
Save history on shell exit, not after every command.
config FEATURE_REVERSE_SEARCH
bool "Reverse history search"
default y