I'm not sure if this is WAD, but it's definitely different behavior than what happens with TCMD 35.
Created this simple script to demonstrate the issue.
When I execute this script passing in 10 as a parameter, it writes 10 lines to the screen.
Then if I execute a CLS command, it clears the screen, and there are no lines left in the scroll back buffer.
When I execute this script passing in 35 as a parameter, it writes 35 lines to the screen.
Then if I execute a CLS command, it clears the screen, but the scroll back buffer now only retains the first 4 lines written. The rest are gone.
Depending on your screen size, different parameters passed in might generate different results.
This happens in both ConHost and ConPTY consoles running under TCMD 36. It does not do this in TCMD 35.
Is that the expected behavior?
From TCMD 35 I'm used to all the previously displayed lines staying in the scroll back buffer, at least until the max buffer size is reached.
Created this simple script to demonstrate the issue.
Code:
@echo off
DO i = 1 TO %1
echo Line Number %i
enddo
When I execute this script passing in 10 as a parameter, it writes 10 lines to the screen.
Then if I execute a CLS command, it clears the screen, and there are no lines left in the scroll back buffer.
When I execute this script passing in 35 as a parameter, it writes 35 lines to the screen.
Then if I execute a CLS command, it clears the screen, but the scroll back buffer now only retains the first 4 lines written. The rest are gone.
Depending on your screen size, different parameters passed in might generate different results.
This happens in both ConHost and ConPTY consoles running under TCMD 36. It does not do this in TCMD 35.
Is that the expected behavior?
From TCMD 35 I'm used to all the previously displayed lines staying in the scroll back buffer, at least until the max buffer size is reached.