|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Complete terminal capabilities structure. More...
#include <lib/platform/terminal.h>
Data Fields | |
| terminal_color_mode_t | color_level |
| Detected color support level (terminal_color_mode_t) | |
| uint32_t | capabilities |
| Capability flags bitmask (terminal_capability_flags_t) | |
| uint32_t | color_count |
| Maximum number of colors (16, 256, or 16777216) | |
| bool | utf8_support |
| True if terminal supports UTF-8 encoding. | |
| bool | detection_reliable |
| True if detection is confident (reliable detection) | |
| render_mode_t | render_mode |
| Preferred rendering mode (render_mode_t) | |
| char | term_type [64] |
| $TERM environment variable value (for debugging) | |
| char | colorterm [64] |
| $COLORTERM environment variable value (for debugging) | |
| bool | wants_background |
| True if background colors are preferred. | |
| int | palette_type |
| Palette type enum value (palette_type_t) | |
| char | palette_custom [64] |
| Custom palette characters (if palette_type == PALETTE_CUSTOM) | |
| uint8_t | desired_fps |
| Client's desired frame rate (1-144 FPS) | |
Complete terminal capabilities structure.
Comprehensive terminal capabilities structure containing all detected terminal features, color support, encoding capabilities, and rendering preferences. Used for optimal ASCII art rendering configuration.
Definition at line 485 of file terminal.h.
| uint32_t terminal_capabilities_t::capabilities |
Capability flags bitmask (terminal_capability_flags_t)
Definition at line 489 of file terminal.h.
Referenced by handle_client_capabilities_packet(), log_redetect_terminal_capabilities(), tcp_client_send_terminal_capabilities(), and threaded_send_terminal_size_with_auto_detect().
| uint32_t terminal_capabilities_t::color_count |
Maximum number of colors (16, 256, or 16777216)
Definition at line 491 of file terminal.h.
Referenced by handle_client_capabilities_packet(), tcp_client_send_terminal_capabilities(), and threaded_send_terminal_size_with_auto_detect().
| terminal_color_mode_t terminal_capabilities_t::color_level |
Detected color support level (terminal_color_mode_t)
Definition at line 487 of file terminal.h.
Referenced by action_show_capabilities(), handle_client_capabilities_packet(), image_print_with_capabilities(), log_get_color_array(), log_redetect_terminal_capabilities(), mirror_main(), tcp_client_send_terminal_capabilities(), and threaded_send_terminal_size_with_auto_detect().
| char terminal_capabilities_t::colorterm[64] |
$COLORTERM environment variable value (for debugging)
Definition at line 501 of file terminal.h.
Referenced by action_show_capabilities(), handle_client_capabilities_packet(), tcp_client_send_terminal_capabilities(), and threaded_send_terminal_size_with_auto_detect().
| uint8_t terminal_capabilities_t::desired_fps |
Client's desired frame rate (1-144 FPS)
Definition at line 509 of file terminal.h.
Referenced by client_video_render_thread(), handle_client_capabilities_packet(), log_redetect_terminal_capabilities(), tcp_client_send_terminal_capabilities(), and threaded_send_terminal_size_with_auto_detect().
| bool terminal_capabilities_t::detection_reliable |
True if detection is confident (reliable detection)
Definition at line 495 of file terminal.h.
Referenced by handle_client_capabilities_packet(), log_init(), log_redetect_terminal_capabilities(), tcp_client_send_terminal_capabilities(), and threaded_send_terminal_size_with_auto_detect().
| char terminal_capabilities_t::palette_custom[64] |
Custom palette characters (if palette_type == PALETTE_CUSTOM)
Definition at line 507 of file terminal.h.
Referenced by handle_client_capabilities_packet().
| int terminal_capabilities_t::palette_type |
Palette type enum value (palette_type_t)
Definition at line 505 of file terminal.h.
Referenced by handle_client_capabilities_packet().
| render_mode_t terminal_capabilities_t::render_mode |
Preferred rendering mode (render_mode_t)
Definition at line 497 of file terminal.h.
Referenced by ascii_convert_with_capabilities(), handle_client_capabilities_packet(), image_print_with_capabilities(), tcp_client_send_terminal_capabilities(), and threaded_send_terminal_size_with_auto_detect().
| char terminal_capabilities_t::term_type[64] |
$TERM environment variable value (for debugging)
Definition at line 499 of file terminal.h.
Referenced by action_show_capabilities(), handle_client_capabilities_packet(), tcp_client_send_terminal_capabilities(), and threaded_send_terminal_size_with_auto_detect().
| bool terminal_capabilities_t::utf8_support |
True if terminal supports UTF-8 encoding.
Definition at line 493 of file terminal.h.
Referenced by action_show_capabilities(), handle_client_capabilities_packet(), log_redetect_terminal_capabilities(), tcp_client_send_terminal_capabilities(), and threaded_send_terminal_size_with_auto_detect().
| bool terminal_capabilities_t::wants_background |
True if background colors are preferred.
Definition at line 503 of file terminal.h.
Referenced by handle_client_capabilities_packet().