Repository
Current version released
3 years ago
Dependencies
std
Versions
cursor
ANSI escape sequences to control the cursor in a terminal.
import { goHome } from "https://denopkg.com/iamnathanj/cursor@v2.1.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)