jaclaz Posted February 18, 2013 Share Posted February 18, 2013 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 Link to comment Share on other sites More sharing options...
allen2 Posted February 18, 2013 Share Posted February 18, 2013 (edited) 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, 2013 by allen2 Link to comment Share on other sites More sharing options...
Yzöwl Posted February 18, 2013 Share Posted February 18, 2013 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 Link to comment Share on other sites More sharing options...
allen2 Posted February 18, 2013 Share Posted February 18, 2013 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. Link to comment Share on other sites More sharing options...
Guest Posted February 19, 2013 Share Posted February 19, 2013 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now