26 offsetof(options_t, width),
29 "Terminal width in characters. Can be controlled using $COLUMNS. By default your terminal width is detected at "
30 "runtime and this value is updated automatically.",
39 OPTION_MODE_CLIENT | OPTION_MODE_MIRROR | OPTION_MODE_DISCOVERY,
40 {.numeric_range = {20, 512, 0}, .examples =
g_width_examples, .input_type = OPTION_INPUT_NUMERIC},
45 offsetof(options_t, height),
46 &default_height_value,
48 "Terminal height in characters. Can be controlled using $ROWS. By default your terminal height is detected at "
49 "runtime and this value is updated automatically.",
58 OPTION_MODE_CLIENT | OPTION_MODE_MIRROR | OPTION_MODE_DISCOVERY,
59 {.numeric_range = {10, 256, 0}, .examples =
g_height_examples, .input_type = OPTION_INPUT_NUMERIC},
64 offsetof(options_t, color_mode),
65 &default_color_mode_value,
66 sizeof(terminal_color_mode_t),
67 "Terminal color level (auto, none, 16, 256, truecolor). This controls what ANSI escape codes ascii-chat will use "
68 "for console logging and display output if color is enabled. Press 'c' during rendering to cycle. See also "
73 "ASCII_CHAT_COLOR_MODE",
78 OPTION_MODE_CLIENT | OPTION_MODE_MIRROR | OPTION_MODE_DISCOVERY,
82 .input_type = OPTION_INPUT_ENUM},
90 "Show detected terminal capabilities and exit (useful for debugging and scripting).",
104 OPTION_TYPE_CALLBACK,
105 offsetof(options_t, force_utf8),
106 &default_force_utf8_value,
108 "UTF-8 support setting: 'auto' (default, auto-detect), 'true' (force UTF-8 on), or 'false' (force UTF-8 off).",
117 OPTION_MODE_CLIENT | OPTION_MODE_MIRROR | OPTION_MODE_DISCOVERY,
121 .input_type = OPTION_INPUT_ENUM},
126 offsetof(options_t, strip_ansi),
127 &default_strip_ansi_value,
129 "Strip ANSI escape sequences from output before printing. Useful for scripting and debugging.",
133 "ASCII_CHAT_STRIP_ANSI",
138 OPTION_MODE_CLIENT | OPTION_MODE_MIRROR | OPTION_MODE_DISCOVERY,
143 OPTION_TYPE_CALLBACK,
144 offsetof(options_t, color),
145 &default_color_value,
147 "Color output setting: 'auto' (default, smart detection), 'true' (force colors on), or 'false' (force colors "
161 .input_type = OPTION_INPUT_ENUM},
164 REGISTRY_TERMINATOR()};