Skip to main content


Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest

Cliffy ❯ ANSI Escape

Build status Version issues Deno version doc Licence badge

Control cli cursor, erase output and scroll window.
>_ Used by cliffy’s prompt module

❯ Content

❯ Install

This module can be imported directly from the repo and from following registries.

Deno Registry

import { AnsiEscape } from "<version>/ansi_escape/mod.ts";

Nest Registry

import { AnsiEscape } from "<version>/ansi_escape/mod.ts";


import { AnsiEscape } from "<version>/ansi_escape/mod.ts";

❯ Usage

import { AnsiEscape } from "";

  // Hide cursor:
  // Show cursor:
  // Erase current line:
  // Erase three line's up:
  // Scroll two line's up:
  // Scroll one line down:
    // ...

❯ Contributing

Any kind of contribution is welcome! Please take a look at the contributing guidelines.

❯ License