curses_color_pair now exists regardless of curses
commit720e5427402b57405ac124b0fc537ce7df12ef0b
authorPhilip Pavlick <swashdev@pm.me>
Mon, 9 Mar 2020 23:26:19 +0000 (9 18:26 -0500)
committerPhilip Pavlick <swashdev@pm.me>
Mon, 9 Mar 2020 23:26:19 +0000 (9 18:26 -0500)
treef4329befe275cb585a9955eaeb31361972fe876c
parent86ca31ba58c28af0570dc1bdb35cf8db2a98177c
curses_color_pair now exists regardless of curses

The `curses_color_pair` & `last_color_pair` variables in the
`Color_Pair` class, and the functions used to access them, now exist
regardless of whether curses is included or not.

The reason for this is that these curses color pair values are useful
for identifying the color value later using a numerical identifier, and
it would be foolish to squander that opportunity.
src/color.d