(column: number, row?: number)
| 78 | |
| 79 | /** @internal */ |
| 80 | export const cursorTo = (column: number, row?: number): string => { |
| 81 | if (row === undefined) { |
| 82 | return `${ESC}${Math.max(column + 1, 0)}G` |
| 83 | } |
| 84 | return `${ESC}${row + 1}${SEP}${Math.max(column + 1, 0)}H` |
| 85 | } |
| 86 | |
| 87 | /** @internal */ |
| 88 | export const cursorDown = (lines: number = 1): string => { |
nothing calls this directly
no outgoing calls
no test coverage detected