-                       #define ESC_BG_DEFAULT           ANSI_ESCAPE_SEQUENCE("49m")
-                       
-                       /** Sets the cursor position to the given line and column. */
-                       #define ESC_CURSOR_POS(L, C)     ANSI_ESCAPE_SEQUENCE(#L ";" #C "H")
+                       #define ESC_BG_DEFAULT                  ANSI_ESCAPE_SEQUENCE("49m")
+                       //@}
+
+                       /** \name Cursor Positioning Control Sequences */
+                       //@{
+                       /** Saves the current cursor position so that it may be restored with \ref ESC_CURSOR_POS_RESTORE. */
+                       #define ESC_CURSOR_POS_SAVE             ANSI_ESCAPE_SEQUENCE("s")
+
+                       /** Restores the cursor position to the last position saved with \ref ESC_CURSOR_POS_SAVE. */
+                       #define ESC_CURSOR_POS_RESTORE          ANSI_ESCAPE_SEQUENCE("u")