Restores the terminal to the state saved by the save cursor (DECSC) function.
If nothing was saved by DECSC, then DECRC performs the following actions:
- Moves the cursor to the home position (upper left of screen).
- Resets origin mode (DECOM).
- Turns all character attributes off (normal setting).
- Maps the ASCII character set into GL, and the DEC Supplemental Graphic set into GR.
Notes on DECSC and DECRC
The terminal maintains a separate DECSC buffer for the main display and the status line. This feature lets you save a separate operating state for the main display and the status line.