ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
display.h
Go to the documentation of this file.
1
13#pragma once
14
15#include <stdbool.h>
16#include "platform/terminal.h"
17
24int display_init();
25
32bool display_has_tty();
33
40
49
59
67void display_render_frame(const char *frame_data, bool is_snapshot_frame);
68
74void display_cleanup();
75
bool display_has_tty()
Check if display has TTY capability.
Definition display.c:289
int display_init()
Initialize what is necessary to display ascii frames.
Definition display.c:265
void display_full_reset()
Perform full display reset.
Definition display.c:301
tty_info_t g_tty_info
Global TTY information structure.
Definition display.c:102
void display_cleanup()
Cleanup display subsystem.
Definition display.c:385
void display_disable_logging_for_first_frame()
Disable terminal logging for first frame.
Definition display.c:327
void display_render_frame(const char *frame_data, bool is_snapshot_frame)
Render ASCII frame to display.
Definition display.c:353
void display_reset_for_new_connection()
Reset display state for new connection.
Definition display.c:315
TTY detection and management structure.
Definition terminal.h:523
🖥️ Cross-platform terminal interface for ascii-chat