You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my specific setup (using WSL and the Windows Console), the colors are changed after exiting the game (note the brighter green and white in the last image):
I can think of two possible solutions:
Saving the color values before calling init_color in colors.c, and restoring them on exit.
Not using init_color at all, instead leaving the colors up to the player's terminal settings.
Also, I noticed the rat in the middle image is white, even though it's set to COLORS_RED in the code:
I suspect the A_BOLD is somehow responsible (maybe causing it to use a different color value?).
I'd be more than happy to make a pull request implementing whichever solution is deemed more preferable. I'm partial to option 2, since it would probably fix the enemy color bug, while also allowing players to customize their colors if they find the current ones undesirable (e.g. due to color blindness).
The text was updated successfully, but these errors were encountered:
On my specific setup (using WSL and the Windows Console), the colors are changed after exiting the game (note the brighter green and white in the last image):
I can think of two possible solutions:
init_color
incolors.c
, and restoring them on exit.init_color
at all, instead leaving the colors up to the player's terminal settings.Also, I noticed the rat in the middle image is white, even though it's set to
COLORS_RED
in the code:hag/src/enemy_rulebook.c
Line 23 in c41af1b
I suspect the
A_BOLD
is somehow responsible (maybe causing it to use a different color value?).I'd be more than happy to make a pull request implementing whichever solution is deemed more preferable. I'm partial to option 2, since it would probably fix the enemy color bug, while also allowing players to customize their colors if they find the current ones undesirable (e.g. due to color blindness).
The text was updated successfully, but these errors were encountered: