Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cliffy/ansi/ansi_escapes.ts

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
import * as cliffy from "https://deno.land/x/cliffy@v0.25.3/ansi/ansi_escapes.ts";

Variables

Ring audio bell: \u0007

Clear the terminal screen. (Viewport)

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

Hide cursor.

Move cursor to first column of current row.

Get cursor position.

Restore cursor.

Save cursor.

Show cursor.

Clear current line.

Clear to line end.

Clear to line start.

Clear screen.

Functions

Move cursor backward by n lines.

Move cursor down by n lines.

Move cursor forward by n lines.

Move cursor by offset.

Move cursor to the beginning of the line n lines down.

Move cursor to the beginning of the line n lines up.

Move cursor to x, y, counting from the top left corner.

Move cursor up by n lines.

Clear screen down by n lines.

Clear screen and move cursor by n lines up and move cursor to first column.

Clear screen up by n lines.

Create image.

Create link.

Scroll window down by n lines.

Scroll window up by n lines.

Interfaces

Image options.