summaryrefslogtreecommitdiff
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-w32-b3d6e2df95a21034e41d46a18c71dd1c4e07e987.tar.gz
busybox-w32-b3d6e2df95a21034e41d46a18c71dd1c4e07e987.tar.bz2
busybox-w32-b3d6e2df95a21034e41d46a18c71dd1c4e07e987.zip
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 @@
1#ifndef CMDEDIT_H 1#ifndef CMDEDIT_H
2#define CMDEDIT_H 2#define CMDEDIT_H
3 3
4#ifdef BB_FEATURE_SH_COMMAND_EDITING 4#ifdef BB_FEATURE_COMMAND_EDITING
5#include <stddef.h> 5#include <stddef.h>
6#include "busybox.h"
6 7
7void cmdedit_init(void); 8void cmdedit_init(void);
8void cmdedit_terminate(void); 9void cmdedit_terminate(void);
9void cmdedit_read_input(char* promptStr, char* command); /* read a line of input */ 10void cmdedit_read_input(char* promptStr, char* command); /* read a line of input */
10 11
11#endif /* BB_FEATURE_SH_COMMAND_EDITING */ 12#endif /* BB_FEATURE_COMMAND_EDITING */
12 13
13#endif /* CMDEDIT_H */ 14#endif /* CMDEDIT_H */