TNT/include/tui.h
2025-07-01 09:00:00 +08:00

28 lines
635 B
C

#ifndef TUI_H
#define TUI_H
#include "common.h"
#include "message.h"
/* Client structure (forward declaration) */
struct client;
/* Render the main screen */
void tui_render_screen(struct client *client);
/* Render the help screen */
void tui_render_help(struct client *client);
/* Render the command output screen */
void tui_render_command_output(struct client *client);
/* Render the input line */
void tui_render_input(struct client *client, const char *input);
/* Clear the screen */
void tui_clear_screen(int fd);
/* Get help text based on language */
const char* tui_get_help_text(help_lang_t lang);
#endif /* TUI_H */