deno.land / std@0.139.0 / node / _readline.mjs

import * as mod from "https://deno.land/std@0.139.0/node/_readline.mjs";

Functions

clearLine

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

clearScreenDown

clears the screen from the current position of the cursor down

createInterface

Creates a new readline.Interface instance.

cursorTo

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

emitKeypressEvents

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

Interface
moveCursor

moves the cursor relative to its current location

std
Deno standard library
GitHub Stars
2178
Go to latest

Version Info

Tagged at
a month ago