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 69d7f777ba1c0ff6803494f475f1fe5d51132419..468c8b261dcd6a158b1ff6bdca542da680b7e73a 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 = " ";