UNPKG

lib-curses

Version:

Simple node.js library for work with console

9 lines (8 loc) 306 B
/** * Moves terminal cursor to a specified position (x, y). * * @param {number} [x=-1] - Horizontal position (column). Default is no action. * @param {number} [y=-1] - Vertical position (row). Default is no action. * @returns {void} */ export declare function position(x?: number, y?: number): void;