The second 'color' in f_color_mode_color_not_e is redundant and inconsistent with the other parameters.
Remove it.
context->mode = mode;
- if (mode == f_color_mode_color_not_e) {
+ if (mode == f_color_mode_not_e) {
macro_f_color_t_set_none(context->list);
context->format.begin = f_string_empty_s;
* If you wish to use non-standard colors either redefine this function or don't use it.
*
* This only supports the following color modes:
- * - f_color_mode_color_not_e
+ * - f_color_mode_not_e
* - f_color_mode_dark_e
* - f_color_mode_light_e
*
#ifndef _di_f_color_mode_e_
enum {
f_color_mode_none_e = 0,
- f_color_mode_color_not_e,
+ f_color_mode_not_e,
f_color_mode_dark_e,
f_color_mode_light_e,
}; // enum
uint8_t modes[4] = {
f_color_mode_none_e,
- f_color_mode_color_not_e,
+ f_color_mode_not_e,
f_color_mode_dark_e,
f_color_mode_light_e,
};
assert_int_equal(status, statuss[j]);
- if (modes[j] == f_color_mode_color_not_e) {
+ if (modes[j] == f_color_mode_not_e) {
assert_ptr_equal(context.set.reset.before, &f_string_empty_s);
assert_ptr_equal(context.set.reset.after, &f_string_empty_s);
}
}
else {
- main->context.mode = f_color_mode_color_not_e;
+ main->context.mode = f_color_mode_not_e;
}
}
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
status = fll_program_parameter_process_context(choices, modes, F_true, main);
else if (data->main->context.mode == f_color_mode_light_e) {
memcpy(argument_string + f_console_symbol_short_inverse_s.used, f_console_standard_short_light_s.string, sizeof(f_char_t) * f_console_standard_short_light_s.used);
}
- else if (data->main->context.mode == f_color_mode_color_not_e) {
+ else if (data->main->context.mode == f_color_mode_not_e) {
memcpy(argument_string + f_console_symbol_short_inverse_s.used, f_console_standard_short_no_color_s.string, sizeof(f_char_t) * f_console_standard_short_no_color_s.used);
}
return;
}
- if (data_make->main->context.mode == f_color_mode_color_not_e) {
+ if (data_make->main->context.mode == f_color_mode_not_e) {
if (data_make->main->parameters.array[fake_parameter_no_color_e].flag & f_console_flag_normal_e) {
*status = f_string_dynamic_append(f_console_symbol_short_normal_s, &data_make->parameter.color.array[data_make->parameter.color.used]);
}
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
fl_print_format(" For the pipe, an Object is terminated by either a Backspace character '%[\\b%]' (%[U+0008%])", print.to, print.set->notable, print.set->notable, print.set->notable, print.set->notable);
fl_print_format(" or a Form Feed character '%[\\f%]' (%[U+000C%]).%r", print.to, print.set->notable, print.set->notable, print.set->notable, print.set->notable, f_string_eol_s);
fl_print_format(" The end of the pipe represents the end of any Object or Content.%r", print.to, f_string_eol_s);
-
}
#endif // _di_fss_write_print_help_pipe_
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);
choices.array = choices_array;
choices.used = 3;
- const uint8_t modes[3] = { f_color_mode_color_not_e, f_color_mode_light_e, f_color_mode_dark_e };
+ const uint8_t modes[3] = { f_color_mode_not_e, f_color_mode_light_e, f_color_mode_dark_e };
setting->status = fll_program_parameter_process_context(choices, modes, F_true, main);