summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenys Vlasenko2011-09-04 16:15:24 +0200
committerDenys Vlasenko2011-09-04 16:15:24 +0200
commite45af7ad17c3f0ecaec1d761aa89cb4fd83afbc2 (patch)
tree6f4a97cd2a4374cf152408976fd547b3fcd41d1c /include/libbb.h
parentbede215cf105377a1127532d2d710924cb58cc39 (diff)
downloadbusybox-e45af7ad17c3f0ecaec1d761aa89cb4fd83afbc2.zip
busybox-e45af7ad17c3f0ecaec1d761aa89cb4fd83afbc2.tar.gz
lineedit: remove SAVE_HISTORY bit, ->hist_file can be used as indicator
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 91343a9..1ca4489 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1434,13 +1434,12 @@ typedef struct line_input_t {
# endif
} line_input_t;
enum {
- DO_HISTORY = 1 * (MAX_HISTORY > 0),
- SAVE_HISTORY = 2 * (MAX_HISTORY > 0) * ENABLE_FEATURE_EDITING_SAVEHISTORY,
- TAB_COMPLETION = 4 * ENABLE_FEATURE_TAB_COMPLETION,
- USERNAME_COMPLETION = 8 * ENABLE_FEATURE_USERNAME_COMPLETION,
- VI_MODE = 0x10 * ENABLE_FEATURE_EDITING_VI,
- WITH_PATH_LOOKUP = 0x20,
- FOR_SHELL = DO_HISTORY | SAVE_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION,
+ DO_HISTORY = 1 * (MAX_HISTORY > 0),
+ TAB_COMPLETION = 2 * ENABLE_FEATURE_TAB_COMPLETION,
+ USERNAME_COMPLETION = 4 * ENABLE_FEATURE_USERNAME_COMPLETION,
+ VI_MODE = 8 * ENABLE_FEATURE_EDITING_VI,
+ WITH_PATH_LOOKUP = 0x10,
+ FOR_SHELL = DO_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION,
};
line_input_t *new_line_input_t(int flags) FAST_FUNC;
/* So far static: void free_line_input_t(line_input_t *n) FAST_FUNC; */