Next: , Up: Terminal escapes  


1.4.1 Escape sequences to move the cursor

RETURN

Moves to the beginning of the current screen line.

C-b

Moves backwards one column. (Tabs are broken up if needed.)

Esc [ R ; C H

Move to screen row R, screen column C, where (R=1) is the top row, and (C=1) is the leftmost column. Defaults are R=1 and C=1.

Esc [ N A

Move N (default 1) screen lines up.

Esc [ N B

Move N (default 1) screen lines down.

Esc [ N C

Move N (default 1) columns right.

Esc [ N D

Move N (default 1) columns left.