code: def _height_and_width(self):
          
  
          try:
              return self._cache['height_and_width']
          except KeyError:
              handw = self._cache['height_and_width'] = super(Terminal, self)._height_and_width()
              return handw
docs: Override for blessings.Terminal._height_and_width
          Adds caching