(n = 1)
| 132 | |
| 133 | /** Move cursor down n lines (CSI n B) */ |
| 134 | export function cursorDown(n = 1): string { |
| 135 | return n === 0 ? '' : csi(n, 'B') |
| 136 | } |
| 137 | |
| 138 | /** Move cursor forward n columns (CSI n C) */ |
| 139 | export function cursorForward(n = 1): string { |