mirror of https://github.com/Textualize/rich.git
default
This commit is contained in:
parent
bfeb39b47f
commit
4a5f44c20b
|
@ -76,7 +76,7 @@ class Panel(JupyterMixin):
|
|||
get_safe_box(self.box, console.legacy_windows)
|
||||
if self.safe_box
|
||||
else self.box
|
||||
)
|
||||
) or SQUARE
|
||||
line_start = Segment(box.mid_left, style)
|
||||
line_end = Segment(f"{box.mid_right}\n", style)
|
||||
yield Segment(box.get_top([width - 2]), style)
|
||||
|
|
Loading…
Reference in New Issue