[DOS] How to set different text_colors?
- Posted by Sunraysia Psychiatric Centre <sunpsych at MILDURA.NET.AU> Nov 06, 2000
- 437 views
I'd be grateful for advice on coding to do achieve the following... 1 display a prompt message in, say, yellow (eg: "Enter something here: ") 2 echo user's response on screen in, say, green (eg "This is user's input") I've tried this, but can't get the green colour: ...... text_color( YELLOW ) puts( 1, "Enter something here: " ) text_color( GREEN ) user_input = gets( 0 ) ...... Thank you Alex Caracatsanis