void draw_out_line(t_ui *ui, int y, int i, int w)
Draw one raw inside the output box (including the side borders)
char * truncate_line(const char *line, int max_width)
Copy up to max_width visible characters into a static buffer.
void print_at(int row, int col, const char *str)
Move the terminal cursor to [row, col] and write str.