Skip to main content
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Cloud
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Pricing
Starts free and scales with your needs
Docs
Manual
API Reference
Deno Deploy
Deno KV
Deno by Example
Modules
Current path
deno.land/x
Standard Library
Node.js & npm
JSR
Blog
Search…
⌘K
Module
x
/
cursor
/
cursor.ts
>
DOWN
ANSI control sequences for your terminal cursor
iAmNathanJ/cursor
Version
Latest
v2.2.0
v2.1.0
v2.0.0
v1.0.0
Menu
mod.ts
(default module)
v
CLEAR
v
CLEAR_DOWN
v
CLEAR_LEFT
v
CLEAR_LINE
v
CLEAR_RIGHT
v
CLEAR_SCREEN
v
CLEAR_UP
v
COLUMN
v
DOWN
v
HIDE
v
HOME
v
LEFT
v
NEXT_LINE
v
POSITION
v
PREV_LINE
v
RESTORE
v
RIGHT
v
SAVE
v
SCROLL_DOWN
v
SCROLL_UP
v
SHOW
v
UP
f
clearDown
f
clearLeft
f
clearLine
f
clearRight
f
clearScreen
f
clearUp
f
cursor
f
goDown
f
goHome
f
goLeft
f
goRight
f
goTo
f
goUp
f
hideCursor
f
nextLine
f
position
f
prevLine
f
restore
f
save
f
scrollDown
f
scrollUp
f
showCursor
f
write
cursor.ts
v
CLEAR
v
CLEAR_DOWN
v
CLEAR_LEFT
v
CLEAR_LINE
v
CLEAR_RIGHT
v
CLEAR_SCREEN
v
CLEAR_UP
v
COLUMN
v
DOWN
v
HIDE
v
HOME
v
LEFT
v
NEXT_LINE
v
POSITION
v
PREV_LINE
v
RESTORE
v
RIGHT
v
SAVE
v
SCROLL_DOWN
v
SCROLL_UP
v
SHOW
v
UP
f
clearDown
f
clearLeft
f
clearLine
f
clearRight
f
clearScreen
f
clearUp
f
cursor
f
goDown
f
goHome
f
goLeft
f
goRight
f
goTo
f
goUp
f
hideCursor
f
nextLine
f
position
f
prevLine
f
restore
f
save
f
scrollDown
f
scrollUp
f
showCursor
f
write
deps.ts
f
decode
f
encode
dev-deps.ts
f
assertEquals
variable
DOWN
import
{
DOWN
}
from
"https://deno.land/x/cursor@v2.2.0/cursor.ts"
;
type
"B"