Skip to main content
Module

std/node/_readline.mjs

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.139.0/node/_readline.mjs";

Functions

clears the current line the cursor is on: -1 for left of the cursor +1 for right of the cursor 0 for the entire line

clears the screen from the current position of the cursor down

Creates a new readline.Interface instance.

moves the cursor to the x and y coordinate on the given stream

accepts a readable Stream instance and makes it emit "keypress" events

moves the cursor relative to its current location