MCPcopy
hub / github.com/Textualize/rich / _exit_buffer

Method _exit_buffer

rich/console.py:817–820  ·  view source on GitHub ↗

Leave buffer context, and render content if required.

(self)

Source from the content-addressed store, hash-verified

815 self._buffer_index += 1
816
817 def _exit_buffer(self) -> None:
818 """Leave buffer context, and render content if required."""
819 self._buffer_index -= 1
820 self._check_buffer()
821
822 def set_live(self, live: "Live") -> bool:
823 """Set Live instance. Used by Live context manager (no need to call directly).

Callers 3

__exit__Method · 0.95
end_captureMethod · 0.95
__exit__Method · 0.80

Calls 1

_check_bufferMethod · 0.95

Tested by

no test coverage detected