add "error" color for the SDL terminal interface
commitc661855bd1c80b605f2c7838539380b9cd508314
authorPhilip Pavlick <swashdev@pm.me>
Fri, 4 Sep 2020 00:46:50 +0000 (3 19:46 -0500)
committerPhilip Pavlick <swashdev@pm.me>
Fri, 4 Sep 2020 00:46:50 +0000 (3 19:46 -0500)
tree243394e5f2809aa45bdafeabee5aed580b914549
parent05346d59af21e768ca248e93ea5e2589515bb485
add "error" color for the SDL terminal interface

A new color pair `CLR_ERROR` has been added which is used by the SDL
terminal interfacec when it finds an invalid character.  Previously, it
would invert `CLR_RED`, which would have produced similar undesirable
effects to the ones we saw when `CLR_GREEN` was being inverted by the
map drawing function.
src/colors.d
src/ioterm.d