do nothing with blank lines, exit on EOF
authorArt Cancro <ajc@citadel.org>
Wed, 30 Oct 2019 19:27:29 +0000 (15:27 -0400)
committerArt Cancro <ajc@citadel.org>
Wed, 30 Oct 2019 19:27:29 +0000 (15:27 -0400)
ctdlsh/main.c

index 69d7f77..468c8b2 100644 (file)
@@ -91,6 +91,14 @@ char *command_generator(const char *text, int state)
 /* Auto-completer function */
 char **ctdlsh_completion(const char *text, int start, int end)
 {
+
+
+       printf("\033[7mcompletion: text='%s', start=%d, end=%d\033[0m\n", text, start , end);
+
+
+
+
+
        char **matches = (char **) NULL;
 
        rl_completer_word_break_characters = " ";