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

Method _enter_buffer

rich/console.py:813–815  ·  view source on GitHub ↗

Enter in to a buffer context, and buffer all output.

(self)

Source from the content-addressed store, hash-verified

811 return color_system
812
813 def _enter_buffer(self) -> None:
814 """Enter in to a buffer context, and buffer all output."""
815 self._buffer_index += 1
816
817 def _exit_buffer(self) -> None:
818 """Leave buffer context, and render content if required."""

Callers 3

__enter__Method · 0.95
begin_captureMethod · 0.95
__enter__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected