From 86052c3ecad8ea7705e9c895d5c0ae3aab549c90 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 30 Oct 2019 15:27:29 -0400 Subject: [PATCH] do nothing with blank lines, exit on EOF --- ctdlsh/main.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ctdlsh/main.c b/ctdlsh/main.c index 69d7f777b..468c8b261 100644 --- a/ctdlsh/main.c +++ b/ctdlsh/main.c @@ -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 = " "; -- 2.30.2