Appearance
CUU — Cursor Up
| Sequence | CSI <n> A |
| Bytes | 0x1B 0x5B <n> 0x41 |
| Mnemonic | CUU |
| Otty support | ✓ |
Description
Moves the cursor up <n> rows in the current column. Default <n> = 1. The cursor does not move past the top of the active region (no scroll).
Example
bash
printf '\e[3A' # move 3 rows up
printf '\e[A' # move 1 row up