author | Andy Spencer <andy753421@gmail.com> | |
Tue, 24 Nov 2009 18:04:38 +0000 (18:04 +0000) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 24 Nov 2009 19:25:26 +0000 (20:25 +0100) | ||
commit | 3e66cb60df426faadef82b1c6a030c56c32f7e04 | |
tree | 70e2fbfb0948b3f3753001bbef3d89e9dc5ec111 | tree | snapshot |
parent | 9b174ec4b7f3ecfa0cf43919ea199df09af971da | commit | diff |
colors: Clean up color handling code using curses.h
Using attr_t lets us remove some unnecessary code, such as
COLOR_BRIGHT_MASK which is now just A_BOLD. We can also add in other
style properties, such as underline, easier as well.
Also moved the background color to the color table, there's no reason to
special case it.
Using attr_t lets us remove some unnecessary code, such as
COLOR_BRIGHT_MASK which is now just A_BOLD. We can also add in other
style properties, such as underline, easier as well.
Also moved the background color to the color table, there's no reason to
special case it.
src/colors.c | diff | blob | history | |
src/colors.h | diff | blob | history |