1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-02 14:56:44 +02:00

implement avatars (setting only) and generalize path tab-complete

This commit is contained in:
Jfreegman
2014-09-26 03:10:44 -04:00
parent cee9e624b8
commit 544c402f78
17 changed files with 169 additions and 29 deletions

View File

@ -33,10 +33,10 @@
Returns the difference between the old len and new len of line on success, -1 if error */
int complete_line(ToxWindow *self, const void *list, int n_items, int size);
/* attempts to match /sendfile "<incomplete-dir>" line to matching directories.
/* attempts to match /command "<incomplete-dir>" line to matching directories.
if only one match, auto-complete line.
return diff between old len and new len of ctx->line, -1 if no matches or > 1 match */
int dir_match(ToxWindow *self, Tox *m, const wchar_t *line);
int dir_match(ToxWindow *self, Tox *m, const wchar_t *line, const wchar_t *cmd);
#endif /* #define AUTOCOMPLETE_H */