import * as ansiEsc from "https://deno.land/x/ansi_esc@v1.1.0/mod.ts";
Variables
ANSI escape codes for background | |
ANSI escape codes for foreground | |
ANSI escape codes for styling text |
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 | |
Return a formatted string based on parameters | |
Returns an ANSI escape sequence based on RGB values (defaults to foreground). |