22 void print_at(
int row,
int col,
const char *str)
24 ft_printf(
"\033[%d;%dH%s", row, col, str);
38 write(STDOUT_FILENO, color, ft_strlen(color));
41 write(STDOUT_FILENO,
"─", 3);
void draw_hline(int width, const char *color)
Draw a horizontal line of dashes with optional color.
void print_at(int row, int col, const char *str)
Move the terminal cursor to [row, col] and write str.
UI mode structures, macros & function prototypes.