diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-02-24 11:41:53 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2022-02-24 11:41:53 +0100 |
commit | 144742cb701084cf143b7d996e05e3b3e5449758 (patch) | |
tree | 0c0a81e14d4de03c99741ef5e2b6aa60e0312161 | |
parent | 423105085a90e706f34f9b4b2fb75169246bc71e (diff) | |
download | profani-tty-144742cb701084cf143b7d996e05e3b3e5449758.tar.gz |
ox: add autocomplete for /ox announce
-rw-r--r-- | src/command/cmd_ac.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c index 81597a2d..6d5c67db 100644 --- a/src/command/cmd_ac.c +++ b/src/command/cmd_ac.c @@ -2589,6 +2589,10 @@ _ox_autocomplete(ProfWin* window, const char* const input, gboolean previous) return found; } + if (strncmp(input, "/ox announce ", 13) == 0) { + return cmd_ac_complete_filepath(input, "/ox announce", previous); + } + gboolean result; gchar** args = parse_args(input, 2, 3, &result); if ((strncmp(input, "/ox", 4) == 0) && (result == TRUE)) { |