Changeset 78a024a for tester.c

Timestamp:
Jul 16, 2011, 10:48:11 PM (13 years ago)
Author:
David Benjamin <davidben@mit.edu>
Children:
375df9c
Parents:
b711711
git-author:
David Benjamin <davidben@mit.edu> (07/16/11 22:34:53)
git-committer:
David Benjamin <davidben@mit.edu> (07/16/11 22:48:11)
Message:
Clamp the number of color pairs even on ncurses ABI 6

We should be able to handle color pairs past 256 on ABI 6 (which is most
distributions but Debian-based ones), but there are more changes that
need to be done. We cannot use COLOR_PAIR() and OR it into an attr_t.
This means we also can't use wbkgdset and must use wbkgrdset and
setcchar, but that does not seem to be sufficient. It's possible ncurses
is buggy here.

For now, just use the same hack as, either way, we are not ready for
ext-colors yet.
(No files)

Note: See TracChangeset for help on using the changeset viewer.