Skip to main content
Readline.prototype.clearScreenDown - node__readline--promises.d.ts - Node documentation
method Readline.prototype.clearScreenDown

Usage in Deno

```typescript import { Readline } from "node:node__readline--promises.d.ts"; ```
Readline.prototype.clearScreenDown(): this
The `rl.clearScreenDown()` method adds to the internal list of pending action an action that clears the associated stream from the current position of the cursor down. Call `rl.commit()` to see the effect of this method, unless `autoCommit: true` was passed to the constructor.

Return Type

this
this