By registering with us, you'll be able to discuss, share and exchange private messages with other members of our community.

SignUp Now!

Scrollable colored output

I could not found a way to output a string in color in case the screen must be scrolled, i.e. when the cursor is located in the last line of the window. The following command:

scrput +1 +0 whi on bla String

works until cursor reaches the last line of the window. I understand that scrput writes directly to screen and does not move cursor. How can I output a colored string just like ECHO does?
Use ECHO and ANSI escape sequences.
This is a Windows console issue, not TCC or TCMD. When Windows scrolls a console, it uses the default foreground & background colors for that console (unless that is overridden when you use ANSI). You can change the default Windows fg / bg colors using the COLOR command.

Similar threads