I'm looking for a way to change the color of the command text input by the player so that it appears as a different color than the text output by the game; let's say the background is black and the default foreground is gold, but I'd like the text typed by the player to appear in white as they are typing it, and to persist as white afterward. Is this doable? If so, how?
As a bonus, could we instead cause the command line text to change back to the default color after the player presses enter (so, not persisting as a special color
Check this out: