Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ansi_esc/cursor.ts

A Deno module/wrapper for ANSI escape sequences.
Latest
import * as ansiEsc from "https://deno.land/x/ansi_esc@v1.1.0/cursor.ts";

Functions

Move console cursor backwards (to the left)

Clear the line the cursor is currently on

Clear the entire screen

Move to a column on the current row

Move console cursor down

Move console cursor fowards (to the right)

Hides the terminal cursor

Move console cursor down and go to the line's beginning

Move to cursor to specific row and column

Move console cursor up and go to the line's beginning

Restore to saved cursor position

Save current cursor position

Scroll cursor down

Scroll cursor up

Shows the terminal cursor

Move console cursor up