rl.cursorTo(x[, y])
rl.cursorTo() 方法会向内部待处理动作列表添加一个动作,该动作将光标移动到关联 stream 中的指定位置。调用 rl.commit() 可以看到该方法的效果,除非在构造函数中传入了 autoCommit: true。
【The rl.cursorTo() method adds to the internal list of pending action an action
that moves cursor to the specified position in the associated stream.
Call rl.commit() to see the effect of this method, unless autoCommit: true
was passed to the constructor.】