Course contentsShow
← Node.js
Lesson 911 of 3,15913. Core Library Reference: Events, Scheduling, and StreamsFree lesson

Node API: rl.clearLine

The 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 .

Writing your lesson…