summaryrefslogtreecommitdiffstats
path: root/lib/readline_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/readline_simple.c')
-rw-r--r--lib/readline_simple.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/readline_simple.c b/lib/readline_simple.c
index b1ac64a545..9dd21545e2 100644
--- a/lib/readline_simple.c
+++ b/lib/readline_simple.c
@@ -118,14 +118,6 @@ int readline (const char *prompt, char *line, int len)
*/
if (n < CONFIG_CBSIZE-2) {
if (c == '\t') { /* expand TABs */
-#ifdef CONFIG_AUTO_COMPLETE
- /* if auto completion triggered just continue */
- *p = '\0';
- if (cmd_auto_complete(prompt, line, &n, &col)) {
- p = line + n; /* reset */
- continue;
- }
-#endif
puts (tab_seq+(col&07));
col += 8 - (col&07);
} else {
@@ -155,4 +147,4 @@ int readline (const char *prompt, char *line, int len)
* Enable the "Simple parser" in "General Settings", "Select your shell" to
* get back the old console feeling.
*
- */ \ No newline at end of file
+ */