Ncurses: Difference between revisions
No edit summary |
|||
| Line 48: | Line 48: | ||
#define PAIR_NUMBER(a) (NCURSES_CAST(int,((NCURSES_CAST(unsigned long,(a)) & A_COLOR) >> NCURSES_ATTR_SHIFT))) | #define PAIR_NUMBER(a) (NCURSES_CAST(int,((NCURSES_CAST(unsigned long,(a)) & A_COLOR) >> NCURSES_ATTR_SHIFT))) | ||
</pre> | </pre> | ||
The default colors built into ncurses can be dumped with <tt>color_content -p</tt>. | |||
===True Color=== | ===True Color=== | ||