effect-io-ai

Package: @effect/printer-ansi
Module: AnsiDoc

AnsiDoc.cursorUp

Moves the cursor up by the specified number of lines (default 1) relative to the current cursor position.

If the cursor is already at the edge of the screen, this has no effect.

Signature

declare const cursorUp: (lines?: number) => AnsiDoc

Source

Since v1.0.0