method Readline.prototype.clearLine
Jump to headingReadline.prototype.clearLine(dir: Direction): thisThe rl.clearLine() method adds to the internal list of pending action an
action that clears current line of the associated stream in a specified
direction identified by dir.
Call rl.commit() to see the effect of this method, unless autoCommit: true was passed to the constructor.
Parameters Jump to heading
Return Type Jump to heading
thisthis