Hello,

I've noticed that a lot of text-based programs allow you to use the arrow keys to move up and down a list of options. The currently selected option would be highlighted, ie, the text background would be white, and the foreground black, instead of the other way around as usual.

How would I go about printing highlighted text in C? Thanks.