node.js stdout clearline() and cursorTo() functions

前端 未结 5 2000
没有蜡笔的小新
没有蜡笔的小新 2020-12-25 12:11

From a node.js tutorial, I see those two process.stdout functions :

process.stdout.clearLine();
process.stdout.cursorTo(0);

But I\'m using

5条回答
  •  别那么骄傲
    2020-12-25 12:49

    For my part, I had the clearline is not a function error in a package that use process.stdout.clearline().

    I had to start my windows console as administrator to make it works.

提交回复
热议问题