|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
Two-column layout implementation. More...
Go to the source code of this file.
Functions | |
| void | layout_print_wrapped_description (FILE *stream, const char *text, int indent_width, int term_width) |
| void | layout_print_two_column_row (FILE *stream, const char *first_column, const char *second_column, int first_col_len, int term_width) |
Two-column layout implementation.
Implements reusable layout functions for two-column formatting with text wrapping. Uses utf8proc library for accurate UTF-8 display width calculation.
Definition in file layout.c.
| void layout_print_two_column_row | ( | FILE * | stream, |
| const char * | first_column, | ||
| const char * | second_column, | ||
| int | first_col_len, | ||
| int | term_width | ||
| ) |
Definition at line 206 of file layout.c.
References ansi_strip_escapes(), display_width(), layout_print_wrapped_description(), and utf8_display_width().
Referenced by options_config_print_options_sections_with_width(), options_config_print_usage(), and options_print_help_for_mode().
| void layout_print_wrapped_description | ( | FILE * | stream, |
| const char * | text, | ||
| int | indent_width, | ||
| int | term_width | ||
| ) |
Definition at line 98 of file layout.c.
References utf8_next_char_bytes().
Referenced by layout_print_two_column_row(), and options_print_help_for_mode().