ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
splash.h
Go to the documentation of this file.
1
17
18#pragma once
19
20#include <stdbool.h>
21
22// Forward declare to avoid circular includes
25
34void splash_log_init(void);
35
43void splash_log_destroy(void);
44
53void splash_log_clear(void);
54
65void splash_log_append(const char *message);
66
96
115int splash_intro_done(void);
116
132
144bool splash_should_display(bool is_intro);
145
158void splash_restore_stderr(void);
159
173void splash_set_update_notification(const char *notification);
174
188
206
220bool splash_is_running(void);
221
223void splash_set_discovery_session(const char *session_string, bool joining);
224
bool splash_is_running(void)
Check if splash screen animation is currently running.
Definition splash.c:445
struct session_display_ctx session_display_ctx_t
session display config is intentionally a small, concrete record. Fields such as snapshot_mode,...
int splash_intro_done(void)
Signal that intro splash should end (first frame ready to render).
Definition splash.c:426
void splash_restore_stderr(void)
Restore stderr after splash animation completes.
Definition splash.c:436
int splash_intro_start(session_display_ctx_t *ctx)
Start animated intro screen with rainbow ASCII art (non-blocking).
Definition splash.c:375
void splash_log_init(void)
Initialize log buffer for splash animation.
Definition splash.c:124
void splash_log_clear(void)
Clear splash log buffer.
Definition splash.c:136
void splash_set_update_notification(const char *notification)
Set update notification to display on splash/status screens.
Definition splash.c:481
bool splash_should_display(bool is_intro)
Check if splash screen should display.
Definition splash.c:242
void splash_clear_display_context(void)
Clear the cached display context to prevent use-after-free.
Definition splash.c:441
void splash_log_destroy(void)
Destroy splash log buffer.
Definition splash.c:131
void splash_log_append(const char *message)
Append message to splash log buffer.
void splash_notify_first_frame(void)
Notify splash that the first frame has been rendered.
void splash_wait_for_animation(void)
Wait for splash animation thread to fully exit.
Definition splash.c:451
void splash_set_discovery_session(const char *session_string, bool joining)
Definition splash.c:94
void splash_clear_discovery_session(void)
Definition splash.c:104
Runtime terminal state and reusable workspaces for ASCII rendering.