mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-04-17 03:00:16 -04:00
readline autocomplete: fix rl_attempted_completion_over in script
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -703,7 +703,7 @@ const static vocabulory_t vocabulory[] = {
|
||||
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user