I have found some functions that use ANSI escape codes to handle the Command Line. The purpose is to print a lot of contents. Then I want to return where I started. However, the implementation below just jumps to the beginning of the window. I don’t mind a Unix solution. I would prefer though a ..
With Windows 10 now supporting VT100 escape sequences, I’ve noticed that the sequence ESC[2J and CLS are functionally the same, but CLS flickers quite a bit while ESC[2J does not. Here’s 2 batch files as a simple example: For ESC[2J @ECHO OFF FOR /F %%A in (‘ECHO prompt $E^| cmd’) DO SET "ESC=%%A" FOR /L ..