diff options
| author | hhvn <dev@hhvn.uk> | 2026-05-22 22:18:48 +0100 |
|---|---|---|
| committer | hhvn <dev@hhvn.uk> | 2026-05-22 22:18:48 +0100 |
| commit | 00482d869c87c9418549834f1815a2388643bbcc (patch) | |
| tree | a3fee6117d71e20c2d079d34d913728ff13a778d | |
| parent | f83007fea75c9b70a2a08bfa22a88fd5b50fed67 (diff) | |
Modern versions of readline seem to do this automatically
| -rw-r--r-- | edit-readline.c | 2 |
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; |