42 while (i < out->count)
71 out_add_line(&ui->
out,
" ╔══════════════════════════════════════════╗");
79 out_add_line(&ui->
out,
" ╚══════════════════════════════════════════╝");
UI mode structures, macros & function prototypes.
void out_free(t_out *out)
Clear all output lines and free the lines pointer array.
void out_clear(t_out *out)
Free stored output lines and reset the scroll state.
void out_add_line(t_out *out, const char *line)
Append a duplicate of a line to the output buffer.
void add_welcome_msg(t_ui *ui)
Fill the output buffer w/ an introductory welcome banner.
char ** lines
Array of output lines.
int scroll
Current scroll's offset.
int count
Nbr of stored lines.