diff options
Diffstat (limited to 'shell/cmdedit.h')
-rw-r--r-- | shell/cmdedit.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/shell/cmdedit.h b/shell/cmdedit.h new file mode 100644 index 0000000..f586392 --- /dev/null +++ b/shell/cmdedit.h @@ -0,0 +1,20 @@ +/* vi: set sw=4 ts=4: */ +#ifndef CMDEDIT_H +#define CMDEDIT_H + +int cmdedit_read_input(char* promptStr, char* command); + +#ifdef CONFIG_ASH +extern const char *cmdedit_path_lookup; +#endif + +#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY +void load_history(const char *fromfile); +void save_history(const char *tofile); +#endif + +#if ENABLE_FEATURE_COMMAND_EDITING_VI +void setvimode(int viflag); +#endif + +#endif /* CMDEDIT_H */ |