readline autocomplete: fix rl_attempted_completion_over in script
This commit is contained in:
1 parent
6597d3e5a5
commit
b68a0ee082
2 files changed
+2
-2
No files matched your search
@@ -93,7 +93,7 @@ const static vocabulory_t vocabulory[] = {\n""")
|
|||||||
|
|
||||||
|
|
||||||
char **rl_command_completion(const char *text, int start, int end) {
|
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);
|
return rl_completion_matches (text, rl_command_generator);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -703,7 +703,7 @@ const static vocabulory_t vocabulory[] = {
|
|||||||
|
|
||||||
|
|
||||||
char **rl_command_completion(const char *text, int start, int end) {
|
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);
|
return rl_completion_matches (text, rl_command_generator);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user