Changed TChar to use bitflags instead of separate fields for bold, underline, italics, inverse