Simplified autocompleters and command history

This commit is contained in:
James Booth
2015-01-16 22:50:40 +00:00
parent 7a5deca77c
commit 4c6cfcdca0
28 changed files with 315 additions and 456 deletions

View File

@@ -117,13 +117,13 @@ accounts_close(void)
}
char *
accounts_find_enabled(char *prefix)
accounts_find_enabled(const char * const prefix)
{
return autocomplete_complete(enabled_ac, prefix, TRUE);
}
char *
accounts_find_all(char *prefix)
accounts_find_all(const char * const prefix)
{
return autocomplete_complete(all_ac, prefix, TRUE);
}