ascii-chat 0.8.38
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 <ascii-chat/platform/terminal.h>
17
18/* Forward declarations */
20
32
39int display_init();
40
47bool display_has_tty();
48
55
64
74
81void display_render_frame(const char *frame_data);
82
88void display_cleanup();
89
90extern tty_info_t g_tty_info;
tty_info_t g_tty_info
void display_set_context(session_display_ctx_t *display_ctx)
Set the display context created by session_client_like framework.
void display_render_frame(const char *frame_data)
Render ASCII frame to display.
bool display_has_tty()
Check if display has TTY capability.
int display_init()
Initialize what is necessary to display ascii frames.
void display_full_reset()
Perform full display reset.
void display_cleanup()
Cleanup display subsystem.
void display_disable_logging_for_first_frame()
Disable terminal logging for first frame.
void display_reset_for_new_connection()
Reset display state for new connection.
Internal session display context structure.