src.hhvn.uk > rc > commit > 00482d869c87c9418549834f1815a2388643bbcc

Byron Rakitzis' rc(1) port, with a few modifications
Log | Files | Refs | README | LICENSE

commit 00482d869c87c9418549834f1815a2388643bbcc
parent f83007fea75c9b70a2a08bfa22a88fd5b50fed67
Author: hhvn <dev@hhvn.uk>
Date:   Fri, 22 May 2026 22:18:48 +0100

Reset rl_completion_append_character

Modern versions of readline seem to do this automatically

Diffstat:
Medit-readline.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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;