code: def previous(self, cli):
          
          if len(self.focus_stack) > 1:
              try:
                  return self[self.focus_stack[-2]]
              except KeyError:
                  pass
docs: Return the previously focussed :class:`.Buffer` or `None`.