diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/libbb.h b/include/libbb.h index 91343a95e..1ca448930 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1434,13 +1434,12 @@ typedef struct line_input_t { | |||
1434 | # endif | 1434 | # endif |
1435 | } line_input_t; | 1435 | } line_input_t; |
1436 | enum { | 1436 | enum { |
1437 | DO_HISTORY = 1 * (MAX_HISTORY > 0), | 1437 | DO_HISTORY = 1 * (MAX_HISTORY > 0), |
1438 | SAVE_HISTORY = 2 * (MAX_HISTORY > 0) * ENABLE_FEATURE_EDITING_SAVEHISTORY, | 1438 | TAB_COMPLETION = 2 * ENABLE_FEATURE_TAB_COMPLETION, |
1439 | TAB_COMPLETION = 4 * ENABLE_FEATURE_TAB_COMPLETION, | 1439 | USERNAME_COMPLETION = 4 * ENABLE_FEATURE_USERNAME_COMPLETION, |
1440 | USERNAME_COMPLETION = 8 * ENABLE_FEATURE_USERNAME_COMPLETION, | 1440 | VI_MODE = 8 * ENABLE_FEATURE_EDITING_VI, |
1441 | VI_MODE = 0x10 * ENABLE_FEATURE_EDITING_VI, | 1441 | WITH_PATH_LOOKUP = 0x10, |
1442 | WITH_PATH_LOOKUP = 0x20, | 1442 | FOR_SHELL = DO_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION, |
1443 | FOR_SHELL = DO_HISTORY | SAVE_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION, | ||
1444 | }; | 1443 | }; |
1445 | line_input_t *new_line_input_t(int flags) FAST_FUNC; | 1444 | line_input_t *new_line_input_t(int flags) FAST_FUNC; |
1446 | /* So far static: void free_line_input_t(line_input_t *n) FAST_FUNC; */ | 1445 | /* So far static: void free_line_input_t(line_input_t *n) FAST_FUNC; */ |