readline autocomplete: fix rl_attempted_completion_over in script

This commit is contained in:
Philippe Teuwen 2021-12-13 02:32:16 +01:00
parent 6597d3e5a5
commit b68a0ee082
2 changed files with 2 additions and 2 deletions

View file

@ -93,7 +93,7 @@ const static vocabulory_t vocabulory[] = {\n""")
char **rl_command_completion(const char *text, int start, int end) {
rl_attempted_completion_over = 1;
rl_attempted_completion_over = 0;
return rl_completion_matches (text, rl_command_generator);
}