projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aae29a7
)
do nothing with blank lines, exit on EOF
author
Art Cancro
<ajc@citadel.org>
Wed, 30 Oct 2019 19:27:29 +0000
(15:27 -0400)
committer
Art Cancro
<ajc@citadel.org>
Wed, 30 Oct 2019 19:27:29 +0000
(15:27 -0400)
ctdlsh/main.c
patch
|
blob
|
history
diff --git
a/ctdlsh/main.c
b/ctdlsh/main.c
index 69d7f777ba1c0ff6803494f475f1fe5d51132419..468c8b261dcd6a158b1ff6bdca542da680b7e73a 100644
(file)
--- 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 = " ";