ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
terminal_screen_config_t Struct Reference

Configuration for terminal screen rendering. More...

#include <include/ascii-chat/ui/terminal_screen.h>

Data Fields

int fixed_header_lines
 How many lines the header takes (e.g., 4 for status, 8 for splash)
 
terminal_screen_header_fn render_header
 Callback to draw header content.
 
void * user_data
 Passed to render_header callback.
 
bool show_logs
 Whether to show log feed below header.
 

Detailed Description

Configuration for terminal screen rendering.

Definition at line 42 of file terminal_screen.h.

Field Documentation

◆ fixed_header_lines

int terminal_screen_config_t::fixed_header_lines

How many lines the header takes (e.g., 4 for status, 8 for splash)

Definition at line 43 of file terminal_screen.h.

Referenced by terminal_screen_render(), ui_status_display(), and ui_status_display_interactive().

◆ render_header

terminal_screen_header_fn terminal_screen_config_t::render_header

Callback to draw header content.

Definition at line 44 of file terminal_screen.h.

Referenced by terminal_screen_render().

◆ show_logs

bool terminal_screen_config_t::show_logs

Whether to show log feed below header.

Definition at line 46 of file terminal_screen.h.

Referenced by terminal_screen_render().

◆ user_data

void* terminal_screen_config_t::user_data

Passed to render_header callback.

Definition at line 45 of file terminal_screen.h.

Referenced by terminal_screen_render().


The documentation for this struct was generated from the following file: