Changing command line color !!

jardenblack26
08 Apr 2018, 23:57

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


K.V.
09 Apr 2018, 00:02

Hello.

Check this out:
http://textadventures.co.uk/forum/quest/topic/1wr_w2tkaukk6rw5spnzqw/dynamic-cursor-solved#cdc94664-c7e0-4868-b66e-41dd1cb7c09c