projects
/
citadel
/ 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
69d7f77
..
468c8b2
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 = " ";