mirror of https://github.com/Textualize/rich.git
render_group decorator defaults fit kwarg to True (was False)
This commit is contained in:
parent
e1cb4796ba
commit
e906e9a648
|
@ -271,7 +271,7 @@ class RenderGroup:
|
||||||
yield from self.renderables
|
yield from self.renderables
|
||||||
|
|
||||||
|
|
||||||
def render_group(fit: bool = False) -> Callable:
|
def render_group(fit: bool = True) -> Callable:
|
||||||
"""A decorator that turns an iterable of renderables in to a group."""
|
"""A decorator that turns an iterable of renderables in to a group."""
|
||||||
|
|
||||||
def decorator(method):
|
def decorator(method):
|
||||||
|
|
Loading…
Reference in New Issue