code: def save_cursor(self):
          
          self.savepoints.append(Savepoint(copy.copy(self.cursor),
                                           self.g0_charset,
                                           self.g1_charset,
                                           self.charset,
                                           mo.DECOM in self.mode,
                                           mo.DECAWM in self.mode))
docs: Push the current cursor position onto the stack.