Writing your lesson…
Lesson 911 of 3,159·13. 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 .