From 00482d869c87c9418549834f1815a2388643bbcc Mon Sep 17 00:00:00 2001 From: hhvn Date: Fri, 22 May 2026 22:18:48 +0100 Subject: Reset rl_completion_append_character Modern versions of readline seem to do this automatically --- edit-readline.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3