ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
src/client/display.h
Go to the documentation of this file.
1
22#pragma once
23
24#include <stdbool.h>
26
27/* Forward declarations */
29
41
72int display_init();
73
87bool display_has_tty();
88
105void display_full_reset();
106
123
143
168void display_render_frame(const char *frame_data);
169
190void display_cleanup();
191
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.
tty_info_t g_tty_info
ClangTool/LibTooling compatibility shim for stdbool.h.
Internal session display context structure.
TTY detection and management structure.
Definition terminal.h:753
🖥️ Cross-platform terminal interface for ascii-chat