ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
update_banner.h
Go to the documentation of this file.
1#pragma once
2
17
19#include <stdbool.h>
20
22
32
38
51
59
62
71
79
82
86bool update_banner_handle_key(int key);
91
bool update_banner_install_update(void)
void update_banner_cancel_check(void)
void update_banner_wait_for_check(void)
Wait for the background update check thread to finish.
bool update_banner_show_prompt(struct session_display_ctx *ctx)
Show the update prompt screen and wait for user input.
void update_banner_start_check(void)
Start the background update check thread.
bool update_banner_handle_key(int key)
bool update_banner_has_update(void)
Check if an update is available (thread-safe).
bool update_banner_is_checking(void)
void update_banner_toggle_overlay(void)
void update_banner_set_result(const update_check_result_t *result)
Store the update check result (thread-safe).
void update_banner_print_instructions(void)
Print upgrade instructions to stdout and prepare for clean exit.
bool update_banner_is_overlay_open(void)
Runtime terminal state and reusable workspaces for ASCII rendering.
update check result keeps the values that move through the subsystem: update_available,...
🔄 Update checker for GitHub releases with DNS connectivity test and cache