fix errors with new Color_Pair constructors
commitf73b56c475ccb1a59a19f600481074bfa2c842a6
authorPhilip Pavlick <swashdev@pm.me>
Fri, 4 Sep 2020 00:11:23 +0000 (3 19:11 -0500)
committerPhilip Pavlick <swashdev@pm.me>
Fri, 4 Sep 2020 00:11:23 +0000 (3 19:11 -0500)
tree92d518aa10d46d439cba6683a475412cf2cdcdfe
parentd8774896bbf378ab9fad8f04149bada634b2f4ea
fix errors with new Color_Pair constructors

A new constructor has been added which disambiguates between the other
two constructors by specifying only `foreground_color` without
requesting any other parameters, leaving them at their defaults.

Additionally, `this` has been called as a function rather than
attempting to self-assign by using the constructor as a function call in
both of the new constructors.
src/color.d