pub fn getattrs(handle: WINDOW) -> Attributes
Expand description
Returns the same attribute data as wattr_get()
. However, getattrs()
internally returns an integer (actually a chtype), while wattr_get()
returns the current color pair in a separate parameter. In the
wide-character library configuration, color pairs may not fit into
a chtype, so wattr_get()
is the only way to obtain the color information.