mirror of
https://github.com/Textualize/rich.git
synced 2025-08-31 15:37:24 +00:00
fix input on legacy windows
This commit is contained in:
parent
35e09d4701
commit
9f2a426ea7
4 changed files with 43 additions and 0 deletions
|
@ -28,6 +28,13 @@ def test_unpack():
|
|||
Padding.unpack((1, 2, 3))
|
||||
|
||||
|
||||
def test_expand_false():
|
||||
console = Console(width=100, color_system=None)
|
||||
console.begin_capture()
|
||||
console.print(Padding("foo", 1, expand=False))
|
||||
assert console.end_capture() == " \n foo \n \n"
|
||||
|
||||
|
||||
def test_rich_console():
|
||||
renderable = "test renderable"
|
||||
style = Style(color="red")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue