On Tue, 14 Jun 2005, Dave Carrigan wrote:

Package: libncurses5
Version: 5.4-6
Severity: normal

After upgrading libncurses, I get ugly display artifacts in aptitude. A
screenshot is at http://www.rudedog.org/tmp/ncurses.png

Specifically, the text in the bottom half of the screen should not be
displayed as black on bright white; it should be white on black.

The problem is this little chunk in lib_color.c:

    } else if (back_color_erase &&
               ((isDefaultPair(old_pair) &&
                 isDefaultPair(pair)) &&
                (no_color_video <= 0 ||
                 (no_color_video & 4) == 0))) {
        return;

from

20041030
        + improve color optimization a little by making _nc_do_color() check
          if the old/new pairs are equivalent to the default pair 0.

I'll revert that in the next patch (simply remove it).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to