Skip to main content
Direction - tty - Node documentation
type alias Direction

Usage in Deno

import { type Direction } from "node:tty";

-1 - to the left from cursor 0 - the entire line 1 - to the right from cursor

Definition

-1
| 0
| 1