about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-05-16 09:44:01 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-05-16 09:44:01 +0200
commitc99a010e57dc32cd6e66b1112a85cef51a149e69 (patch)
tree5e2c3762a6283db118753f46c399ad865c62bf08 /src/command
parent9c853d9f4644360e7f5065546f4738eb8daac878 (diff)
downloadprofani-tty-c99a010e57dc32cd6e66b1112a85cef51a149e69.tar.gz
Remove autocompletion for unanimous/regular color
See 85520ecdc5d2e6ac6654817572b8fd99e43e25d9
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_ac.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c
index f8c0c18a..85800f99 100644
--- a/src/command/cmd_ac.c
+++ b/src/command/cmd_ac.c
@@ -251,7 +251,6 @@ static Autocomplete status_ac;
 static Autocomplete status_state_ac;
 static Autocomplete logging_ac;
 static Autocomplete logging_group_ac;
-static Autocomplete logging_group_color_ac;
 static Autocomplete color_ac;
 static Autocomplete correction_ac;
 static Autocomplete avatar_ac;
@@ -973,10 +972,6 @@ cmd_ac_init(void)
     autocomplete_add(logging_group_ac, "off");
     autocomplete_add(logging_group_ac, "color");
 
-    logging_group_color_ac = autocomplete_new();
-    autocomplete_add(logging_group_color_ac, "unanimous");
-    autocomplete_add(logging_group_color_ac, "regular");
-
     color_ac = autocomplete_new();
     autocomplete_add(color_ac, "on");
     autocomplete_add(color_ac, "off");
@@ -1306,7 +1301,6 @@ cmd_ac_reset(ProfWin *window)
     autocomplete_reset(status_state_ac);
     autocomplete_reset(logging_ac);
     autocomplete_reset(logging_group_ac);
-    autocomplete_reset(logging_group_color_ac);
     autocomplete_reset(color_ac);
     autocomplete_reset(correction_ac);
     autocomplete_reset(avatar_ac);
@@ -1465,7 +1459,6 @@ cmd_ac_uninit(void)
     autocomplete_free(status_state_ac);
     autocomplete_free(logging_ac);
     autocomplete_free(logging_group_ac);
-    autocomplete_free(logging_group_color_ac);
     autocomplete_free(color_ac);
     autocomplete_free(correction_ac);
     autocomplete_free(avatar_ac);
@@ -3791,11 +3784,6 @@ _logging_autocomplete(ProfWin *window, const char *const input, gboolean previou
         return result;
     }
 
-    result = autocomplete_param_with_ac(input, "/logging group color", logging_group_color_ac, TRUE, previous);
-    if (result) {
-        return result;
-    }
-
     return NULL;
 }