Fix escape sequences in draw_char()