crysterm
crysterm copied to clipboard
Fix behavior of alpha=
By definition, alpha=1.0 means full opacity.
But, currently, due to how term_colors implements blending of colors, alpha=1 means full transparency. This should be adjusted to have the standard meaning.
Running small-tests/shadow.cr and pressing arrows Up and Down allows changing the alpha value by 0.1 and seeing the result.