effect-io-ai

Package: @effect/printer-ansi
Module: Ansi

Ansi.cursorTo

Moves the cursor to the specified row and column.

Though the ANSI Control Sequence for Cursor Position is 1-based, this method takes row and column values starting from 0 and adjusts them to 1- based values.

Signature

declare const cursorTo: (column: number, row?: number) => Ansi

Source

Since v1.0.0