Skip to main content
Module

x/inquirer/deps.ts

Interactive command line user interfaces for deno
Latest
import * as mod from "https://deno.land/x/inquirer@v0.0.4/deps.ts";

Functions

Clear the terminal screen. (Viewport)

Clear the whole terminal, including scrollback buffer. (Not just the visible part of it)

moves cursor left # columns (default 1).

moves cursor down # lines (default 1).

moves cursor right # columns (default 1).

Reports the cursor position (CPR) to the application as (as though typed at the keyboard)

DECTCEM Hides the cursor.

Set the position of the cursor relative to its current position.

Moves cursor to beginning of the line n (default 1) lines down.

Moves cursor to beginning of the line n (default 1) lines up.

restores the cursor to the last saved position

saves the current cursor position

DECTCEM Shows the cursor, from the VT320.

moves cursor to line #, column #

moves cursor up # lines (default 1).

Erase the screen from the current line down to the bottom of the screen.

Erase from the current cursor position to the end of the current line.

Erase the entire current line.

Erase from the current cursor position up the specified amount of rows.

Erase the screen and move the cursor the top left position.

Erase from the current cursor position to the start of the current line.

Erase the screen from the current line up to the top of the screen.

Create a clickable link.

Scroll display down one line.

Scroll display up one line.

Read character sequence and decode it as keypress

Read strings line-by-line from a Reader.