Skip to content

iAmNathanJ/cursor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cursor

deno@v1.6.3

ANSI escape sequences to control the cursor in a terminal.

import { goHome } from "https://denopkg.com/iamnathanj/cursor@v2.2.0/mod.ts";

await goHome();

Methods

  • hideCursor()
  • showCursor()
  • scrollUp()
  • scrollDown()
  • clearUp()
  • clearDown()
  • clearLeft()
  • clearRight()
  • clearLine()
  • clearScreen()
  • nextLine()
  • prevLine()
  • goHome()
  • save()
  • restore()
  • position()
  • goTo(x, y)
  • goUp(y? = 1)
  • goDown(y? = 1)
  • goLeft(x? = 1)
  • goRight(x? = 1)

About

ANSI control sequences for your terminal cursor

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published