ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
keyboard_help.h
Go to the documentation of this file.
1
28
29#pragma once
30
31#include <stdbool.h>
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
38
39/* ============================================================================
40 * Keyboard Help Control Functions
41 * @{
42 */
43
60const char *keyboard_help_screen_name(int parent);
61
73
103
116
129
141
153
167
169
171
175
176#ifdef __cplusplus
177}
178#endif
void keyboard_help_toggle_terminal(int fd)
void keyboard_help_toggle(session_display_ctx_t *ctx)
Toggle keyboard help on/off.
bool keyboard_help_is_active_global(void)
Check if keyboard help is active (global accessor for signal handlers).
bool keyboard_help_is_active(session_display_ctx_t *ctx)
Check if keyboard help is currently active.
struct session_display_ctx session_display_ctx_t
session display config is intentionally a small, concrete record. Fields such as snapshot_mode,...
int keyboard_help_parent_screen(void)
void keyboard_help_render(session_display_ctx_t *ctx)
Render keyboard help TUI overlay.
void keyboard_help_toggle_global(void)
Toggle keyboard help (global accessor for signal handlers).
void keyboard_help_signal_cancel(void)
Request help screen closure from signal handler (Ctrl+C).
void session_display_set_global_context(session_display_ctx_t *ctx)
Set the global display context (for signal handlers like Ctrl+C).
bool keyboard_help_check_signal_cancel(void)
Check if help screen closure was requested by signal handler.
const char * keyboard_help_screen_name(int parent)
int keyboard_help_previous_interactive(void)
Runtime terminal state and reusable workspaces for ASCII rendering.