122
123
static int console_draw_string(ConsoleDrawContext *cdc, const char *str, int str_len,
123
124
const unsigned char fg[3], const unsigned char bg[3], const unsigned char bg_sel[4])
126
126
int tot_lines; /* total number of lines for wrapping */
127
127
int *offsets; /* offsets of line beginnings for wrapping */