// Enable command line editing in the shell
#define BB_FEATURE_SH_COMMAND_EDITING
//
+// Enable tab completion in the shell (not yet working very well)
+//#define BB_FEATURE_SH_TAB_COMPLETION
+//
//Turn on extra fbset options
//#define BB_FEATURE_FBSET_FANCY
//
}
}
+#ifdef BB_FEATURE_SH_TAB_COMPLETION
+
char** username_completion_matches(char* command, int *num_matches)
{
char **matches = (char **) NULL;
return (matches);
}
+#endif
/*
* This function is used to grab a character buffer
}
break;
case '\t':
+#ifdef BB_FEATURE_SH_TAB_COMPLETION
{
/* Do TAB completion */
static int num_matches=0;
}
break;
}
+#else
+ break;
+#endif
case '\b':
case DEL:
/* Backspace */
}
}
+#ifdef BB_FEATURE_SH_TAB_COMPLETION
+
char** username_completion_matches(char* command, int *num_matches)
{
char **matches = (char **) NULL;
return (matches);
}
+#endif
/*
* This function is used to grab a character buffer
}
break;
case '\t':
+#ifdef BB_FEATURE_SH_TAB_COMPLETION
{
/* Do TAB completion */
static int num_matches=0;
}
break;
}
+#else
+ break;
+#endif
case '\b':
case DEL:
/* Backspace */