Ticket #2169: Colors fixups for backward compability
commit26b0623e871fa97bca67169beb5770620b376ef9
authorSlava Zanko <slavazanko@gmail.com>
Tue, 11 Jan 2011 14:10:27 +0000 (11 16:10 +0200)
committerSlava Zanko <slavazanko@gmail.com>
Mon, 24 Jan 2011 13:45:58 +0000 (24 15:45 +0200)
tree83feaba111f75152d89e0d52c3eefc5a8c489950
parent1b9957058a05e94b361a6913c7f8cf5ef98a99a9
Ticket #2169: Colors fixups for backward compability

 * Restored old behaviour of A_BLINK attribute (intensity of background color instead of blinking foreground color);
 * Added function tty_use_256colors() for determine terminals with 256colors support;
 * Fixed background highlighting in NCurses and S-Lang.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
lib/tty/color-ncurses.c
lib/tty/color-slang.c
lib/tty/color.h
lib/tty/tty-slang.c
lib/tty/tty.h