Skip to content

complex character

A complex character (type cchar_t) is how the wide-character library stores one cell of a window. It holds one spacing character and zero or more non-spacing characters, such as combining accents, each a wchar_t, together with attributes and a color pair in separate fields. It plays the part that chtype plays in the 8-bit library.

cchar_t is a structure, so build one with setcchar() and read it with getcchar() rather than with bit masks. See curs_getcchar.