code: def clear_buffer(self, fg, attr, bg):
          
          self._buffer.clear(fg, attr, bg)
docs: Clear the current double-buffer used by this object.
  
          :param fg: The foreground colour to use for the new buffer.
          :param attr: The attribute value to use for the new buffer.
          :param bg: The background colour to use for the new buffer.