We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3747240 commit 334dc74Copy full SHA for 334dc74
rich/panel.py
@@ -33,7 +33,7 @@ class Panel:
33
def __init__(
34
self,
35
renderable: RenderableType,
36
- box=box.ROUNDED,
+ box: box.Box = box.ROUNDED,
37
expand: bool = True,
38
style: Union[str, Style] = "none",
39
width: Optional[int] = None,
rich/segment.py
@@ -182,6 +182,7 @@ def set_shape(
182
pad_line = [Segment(" " * width, style)]
183
append = new_lines.append
184
adjust_line_length = cls.adjust_line_length
185
+ line: Optional[List[Segment]]
186
for line, _ in zip_longest(lines, range(height)):
187
if line is None:
188
append(pad_line)
0 commit comments