carriage return

Cursor resets left

A carriage return is a control character that moves the cursor or print head to the beginning of a line.

The term comes from typewriters, where a lever physically returned the carriage to the left margin.

In computing, carriage return often pairs with line feed to create a new line, though conventions vary by operating system.

The abbreviation CR or the escape sequence \r represents it in code.

computing

CR

Line-start control character

escape sequence · terminal · command line · text file · string · parsing · stdin · stdout · buffer · protocol

typewriter

platen

Printing press surface

  • leverPivoting bar for lifting
  • bellHollow resonating instrument
  • paper feedPrinter's page intake system

roller · typebar · ribbon · QWERTY · keyboard · mechanical · Remington · Underwood · ding · cylinder

formatting

line spacing

Distance between text rows

word processing · layout · alignment · margin · typesetting · document · pagination · justification · whitespace · markup

newline

end of line

Final queue position

text flow · word wrap

Categories
Opposites
cursor/print position movement direction

carriage returnnewline

Text formatting character

page break · tab · end of line · advance · scroll down

typewriter/cursor movement direction

carriage returntab

Projection for gripping

space · backspace

Family

carry, return, carrier, carried, carriage, carries, carriages

Familiarity
Top 200,000
Profile
Used worldwide · Timeless · Rated G