diff options
Diffstat (limited to 'src/command/cmd_ac.c')
-rw-r--r-- | src/command/cmd_ac.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c index d67e8aff..7950c811 100644 --- a/src/command/cmd_ac.c +++ b/src/command/cmd_ac.c @@ -708,6 +708,7 @@ cmd_ac_init(void) autocomplete_add(occupants_ac, "header"); autocomplete_add(occupants_ac, "wrap"); autocomplete_add(occupants_ac, "char"); + autocomplete_add(occupants_ac, "color"); occupants_default_ac = autocomplete_new(); autocomplete_add(occupants_default_ac, "show"); @@ -2651,6 +2652,11 @@ _occupants_autocomplete(ProfWin *window, const char *const input, gboolean previ return found; } + found = autocomplete_param_with_func(input, "/occupants color", prefs_autocomplete_boolean_choice, previous); + if (found) { + return found; + } + found = autocomplete_param_with_ac(input, "/occupants default hide", occupants_show_ac, TRUE, previous); if (found) { return found; |