code: def get_ftr(self):
          
          if not self.ftr:
              return self.ftr
  
          width = self.size()[0]
          return re.sub(
              "%time", "%s\n" % time.strftime("%H:%M:%S"), self.ftr).rjust(width)
docs: Process footer and return the processed string