February 18, 201313 yr yeah but the text will blink so so what jaclazNo, the text won't "blink" THE WHOLE page will disappear (CLS) and then re-appear (ECHO) (and thus ALL the text on the page will appear to blink).If you had actually READ the OP question it is about "managing" SINGLE lines and NOT the whole screen and he actually excluded in his post the use of CLS.So you posted TWICE the same thing, BOTH times answering *another thing* from what was originally asked.Check this page:http://www.robvanderwoude.com/ansi.php(already provided) if you scroll a bit down it you will see an example of ANSI <Esc>[5m under DOS.jaclaz
February 18, 201313 yr The dos blinking isn't cleaning the window and rewrite it entirely and that's what wanted the OP in recent windows and this was already clearly explained 3 years ago. Edit: Jaclaz already answered more precisely. Edited February 18, 201313 yr by allen2
February 18, 201313 yr Did anyone actually take a look at the example I provided?it provided a method of changing text on a line without clearing the screen
February 18, 201313 yr Indeed your code is a better approach of a replacement of the dos blinking escape code but it is still far too complex to be used easily in any script.
February 19, 201313 yr It's not terribly difficult, allen2. Of course it will only work on the last output line. And, as written, only for a limited amount of time.Clever way to get a carriage return, BTW.
Create an account or sign in to comment