allow existing curses color pair to be 0
commitc8bcc5448f34d6a3aa039f97ea16e78541777436
authorPhilip Pavlick <swashdev@pm.me>
Thu, 10 Sep 2020 00:50:03 +0000 (9 19:50 -0500)
committerPhilip Pavlick <swashdev@pm.me>
Thu, 10 Sep 2020 00:50:03 +0000 (9 19:50 -0500)
tree8cebcbdc95cde1f8d9e7c6cd5c102ab475bd5aa7
parent04dcd3f6f95f5da5bb948ab11cb36f7cc1818aff
allow existing curses color pair to be 0

For the sake of the "Default" color defined in previous commits, allow
the Color_Pair class constructor to use the "default" color pair 0, and
make the placeholder -1 instead.
src/color.d