summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--edit-readline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/edit-readline.c b/edit-readline.c
index 2e48fd2..3fa840d 100644
--- a/edit-readline.c
+++ b/edit-readline.c
@@ -247,6 +247,8 @@ static char **rc_completion(const char *text, int start, int end) {
char **matches = NULL;
rl_compentry_func_t *func;
+ rl_completion_append_character = '\0';
+
if (compentry_func != NULL) {
func = compentry_func;
compentry_func = NULL;