Go to Latest
class default
import { default } from "https://dotland.deno.dev/std@0.177.0/node/internal/readline/promises.mjs";

Constructors

new
default(stream, options?)

Methods

Clears the current line the cursor is on.

Clears the screen from the current position of the cursor down.

Sends all the pending actions to the associated stream and clears the internal list of pending actions.

cursorTo(x, y?)

Moves the cursor to the x and y coordinate on the given stream.

moveCursor(dx, dy)

Moves the cursor relative to its current location.

Clears the internal list of pending actions without sending it to the associated stream.