|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
Internal session display context structure. More...
Data Fields | |
| tty_info_t | tty_info |
| TTY information (file descriptor, path, ownership) | |
| bool | has_tty |
| True if we have a valid TTY for interactive output. | |
| terminal_capabilities_t | caps |
| Detected terminal capabilities. | |
| char | palette_chars [256] |
| Palette character string for rendering. | |
| size_t | palette_len |
| Number of characters in palette. | |
| char | luminance_palette [256] |
| Luminance-to-character mapping table (256 entries) | |
| palette_type_t | palette_type |
| Configured palette type. | |
| bool | snapshot_mode |
| Snapshot mode enabled. | |
| atomic_bool | first_frame |
| First frame flag for logging control. | |
| bool | initialized |
| Context is fully initialized. | |
| bool | audio_playback_enabled |
| Audio playback is enabled. | |
| void * | audio_ctx |
| Audio context for playback (borrowed, not owned) | |
| atomic_bool | help_screen_active |
| Help screen active flag (toggled with '?') - atomic for thread-safe access. | |
| digital_rain_t * | digital_rain |
| Digital rain effect context (NULL if disabled) | |
| uint64_t | last_frame_time_ns |
| Last frame timestamp for digital rain delta time calculation. | |
Internal session display context structure.
Contains all state for terminal display including TTY info, capabilities, palette, and rendering state.
Definition at line 45 of file lib/session/display.c.
| void* session_display_ctx::audio_ctx |
Audio context for playback (borrowed, not owned)
Definition at line 80 of file lib/session/display.c.
Referenced by session_display_create(), and session_display_write_audio().
| bool session_display_ctx::audio_playback_enabled |
Audio playback is enabled.
Definition at line 77 of file lib/session/display.c.
Referenced by session_display_create(), session_display_has_audio_playback(), and session_display_write_audio().
| terminal_capabilities_t session_display_ctx::caps |
Detected terminal capabilities.
Definition at line 53 of file lib/session/display.c.
Referenced by session_display_convert_to_ascii(), session_display_create(), and session_display_get_caps().
| digital_rain_t* session_display_ctx::digital_rain |
Digital rain effect context (NULL if disabled)
Definition at line 86 of file lib/session/display.c.
Referenced by session_display_convert_to_ascii(), session_display_create(), and session_display_destroy().
| atomic_bool session_display_ctx::first_frame |
First frame flag for logging control.
Definition at line 71 of file lib/session/display.c.
Referenced by session_display_create(), and session_display_render_frame().
| bool session_display_ctx::has_tty |
True if we have a valid TTY for interactive output.
Definition at line 50 of file lib/session/display.c.
Referenced by session_display_clear(), session_display_create(), session_display_cursor_home(), session_display_destroy(), session_display_has_tty(), session_display_render_frame(), session_display_reset(), session_display_set_cursor_visible(), and session_display_write_raw().
| atomic_bool session_display_ctx::help_screen_active |
Help screen active flag (toggled with '?') - atomic for thread-safe access.
Definition at line 83 of file lib/session/display.c.
Referenced by session_display_create(), session_display_is_help_active(), session_display_render_frame(), and session_display_toggle_help().
| bool session_display_ctx::initialized |
Context is fully initialized.
Definition at line 74 of file lib/session/display.c.
Referenced by session_display_clear(), session_display_convert_to_ascii(), session_display_create(), session_display_cursor_home(), session_display_destroy(), session_display_get_caps(), session_display_get_luminance_palette(), session_display_get_palette_chars(), session_display_get_palette_len(), session_display_get_tty_fd(), session_display_has_audio_playback(), session_display_has_tty(), session_display_render_frame(), session_display_reset(), session_display_set_cursor_visible(), session_display_write_audio(), and session_display_write_raw().
| uint64_t session_display_ctx::last_frame_time_ns |
Last frame timestamp for digital rain delta time calculation.
Definition at line 89 of file lib/session/display.c.
Referenced by session_display_convert_to_ascii(), and session_display_create().
| char session_display_ctx::luminance_palette[256] |
Luminance-to-character mapping table (256 entries)
Definition at line 62 of file lib/session/display.c.
Referenced by session_display_create(), and session_display_get_luminance_palette().
| char session_display_ctx::palette_chars[256] |
Palette character string for rendering.
Definition at line 56 of file lib/session/display.c.
Referenced by session_display_convert_to_ascii(), session_display_create(), and session_display_get_palette_chars().
| size_t session_display_ctx::palette_len |
Number of characters in palette.
Definition at line 59 of file lib/session/display.c.
Referenced by session_display_create(), and session_display_get_palette_len().
| palette_type_t session_display_ctx::palette_type |
Configured palette type.
Definition at line 65 of file lib/session/display.c.
Referenced by session_display_create().
| bool session_display_ctx::snapshot_mode |
Snapshot mode enabled.
Definition at line 68 of file lib/session/display.c.
Referenced by display_init(), session_display_clear(), session_display_create(), session_display_destroy(), session_display_render_frame(), and session_display_reset().
| tty_info_t session_display_ctx::tty_info |
TTY information (file descriptor, path, ownership)
Definition at line 47 of file lib/session/display.c.
Referenced by session_display_clear(), session_display_create(), session_display_cursor_home(), session_display_destroy(), session_display_get_tty_fd(), session_display_reset(), session_display_set_cursor_visible(), and session_display_write_raw().