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

Method clear_live

rich/console.py:838–841  ·  view source on GitHub ↗

Clear the Live instance. Used by the Live context manager (no need to call directly).

(self)

Source from the content-addressed store, hash-verified

836 return len(self._live_stack) == 1
837
838 def clear_live(self) -> None:
839 """Clear the Live instance. Used by the Live context manager (no need to call directly)."""
840 with self._lock:
841 self._live_stack.pop()
842
843 def push_render_hook(self, hook: RenderHook) -> None:
844 """Add a new render hook to the stack.

Callers 1

stopMethod · 0.80

Calls 1

popMethod · 0.45

Tested by

no test coverage detected