mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 10:08:40 +00:00
fix black
This commit is contained in:
parent
963bad0405
commit
0c34ddcb67
4 changed files with 16 additions and 5 deletions
|
@ -253,7 +253,7 @@ File output
|
|||
console = Console(file=report_file)
|
||||
console.rule(f"Report Generated {datetime.now().ctime()}")
|
||||
|
||||
Note that when writing to a file, Rich can't auto-detect the width of the terminal and will default to 80 characters. Therefore you may want to set the ``width`` parameter on the Console constructor.
|
||||
Note that when writing to a file you may also want to explicitly the ``width`` of the console as you may not wan it to wrap to the current console width.
|
||||
|
||||
Capturing output
|
||||
----------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue