use an associative array for CLR
commit72bbf0e041c2b3cb963aa7c1dfbb99ad15da9f30
authorPhilip Pavlick <swashdev@pm.me>
Thu, 10 Sep 2020 01:06:48 +0000 (9 20:06 -0500)
committerPhilip Pavlick <swashdev@pm.me>
Thu, 10 Sep 2020 01:06:48 +0000 (9 20:06 -0500)
treed78cc16816de30a0fe608b12cc0e5de33a48bd49
parent65db3159529929657ed150853c066c98ffcf5e55
use an associative array for CLR

In order to avoid a range error, use an associative array for CLR, using
the Colors enum itself for the array indexes and its length as the
length of the array.
src/colors.d