pub unsafe fn attr_get( attrs: *mut attr_t, pair: *mut short_t, opts: *mut c_void) -> i32
https://invisible-island.net/ncurses/man/curs_attr.3x.html