I'd like to get animated progress working on Windows.

baz.pl

  print "Hello\rW\r\n";

baz.js

  process.stdout.write('Hello\rW\r\n'); 

console

  PS C:\git\proof> perl baz.pl
  WPS C:\git\proof> node .\baz.js
  Hello
  W
  PS C:\git\proof> 

I can find many sources on the Google that say that printing '\r' without '\n'
to the Windows console (in this case PowerShell) will allow you to overwrite the
line.

--
Alan Gutierrez - http://twitter.com/bigeasy - http://github.com/bigeasy

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to