Scrollable colored output

Feb 27, 2018
11
0
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?
 
May 20, 2008
11,018
88
Syracuse, NY, USA
Use ECHO and ANSI escape sequences.
1519882918554.png
 

rconn

Administrator
Staff member
May 14, 2008
12,161
140
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.
 
Thread starter Similar threads Forum Replies Date
R Support 1