code: def linefeed(self):
          
          self.index()
  
          if mo.LNM in self.mode:
              self.carriage_return()
docs: Perform an index and, if :data:`~pyte.modes.LNM` is set, a
          carriage return.