mirror of https://github.com/Textualize/rich.git
simplify card
This commit is contained in:
parent
04a7c5235a
commit
f7da8a1b34
|
@ -209,12 +209,10 @@ Supports much of the *markdown*, __syntax__!
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__": # pragma: no cover
|
if __name__ == "__main__": # pragma: no cover
|
||||||
import shutil
|
|
||||||
|
|
||||||
console = Console(
|
console = Console(
|
||||||
file=io.StringIO(),
|
file=io.StringIO(),
|
||||||
force_terminal=True,
|
force_terminal=True,
|
||||||
width=shutil.get_terminal_size().columns,
|
|
||||||
)
|
)
|
||||||
test_card = make_test_card()
|
test_card = make_test_card()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue