aboutsummaryrefslogtreecommitdiff
path: root/shell/cmdedit.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-13 22:57:56 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-13 22:57:56 +0000
commitb3d6e2df95a21034e41d46a18c71dd1c4e07e987 (patch)
tree2d549a0d8748a9673be658e193a8104149cf2c15 /shell/cmdedit.h
parent798ab301c772cc18ab64f94386da3c7ec10daf42 (diff)
downloadbusybox-b3d6e2df95a21034e41d46a18c71dd1c4e07e987.tar.gz
Update the lash shell (hopefully the last time...) so things like
echo "foo bar" and echo -n "foo\t\\\\\tbar" work as expected. Merge prompt printing work from Vladimir. -Erik
Diffstat (limited to 'shell/cmdedit.h')
-rw-r--r--shell/cmdedit.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/cmdedit.h b/shell/cmdedit.h
index b96ffd373..0ab94c6ce 100644
--- a/shell/cmdedit.h
+++ b/shell/cmdedit.h
@@ -1,13 +1,14 @@
#ifndef CMDEDIT_H
#define CMDEDIT_H
-#ifdef BB_FEATURE_SH_COMMAND_EDITING
+#ifdef BB_FEATURE_COMMAND_EDITING
#include <stddef.h>
+#include "busybox.h"
void cmdedit_init(void);
void cmdedit_terminate(void);
void cmdedit_read_input(char* promptStr, char* command); /* read a line of input */
-#endif /* BB_FEATURE_SH_COMMAND_EDITING */
+#endif /* BB_FEATURE_COMMAND_EDITING */
#endif /* CMDEDIT_H */