def _height_and_width(self):
try:<EOL><INDENT>return self._cache['<STR_LIT>']<EOL><DEDENT>except KeyError:<EOL><INDENT>handw = self._cache['<STR_LIT>'] = super(Terminal, self)._height_and_width()<EOL>return handw<EOL><DEDENT>
Override for blessings.Terminal._height_and_width
Adds caching