Node.js Console Update Multiple Line

29 views
Skip to first unread message

Ali Reza

unread,
Sep 25, 2017, 12:34:04 PM9/25/17
to nodejs
Hi, I want to show multiple progress in console, for one line I use this code and its work fine.

process.stdout.clearLine();
process.stdout.cursorTo(0);
process.stdout.write(` ${fileName} ${precent}% Completed`)


but when I console multiple progress at the same time, its don't show every progress separately, all progress update in one line, I want to show every progress in separate line.



Reply all
Reply to author
Forward
0 new messages