mirror of https://github.com/Textualize/rich.git
commit
242770ed7d
|
@ -40,7 +40,7 @@ The Console object has a `print` method which has an intentionally similar inter
|
|||
console.print("Hello", "World!")
|
||||
```
|
||||
|
||||
As you might expect, this will print `"Hello World!"` to the terminal. Note that unlike the `print` function, Rich will word-wrap your test to fit within the terminal width.
|
||||
As you might expect, this will print `"Hello World!"` to the terminal. Note that unlike the `print` function, Rich will word-wrap your text to fit within the terminal width.
|
||||
|
||||
There are a few ways of adding color and style to your output. You can set a style for the entire output by adding a `style` keyword argument. Here's an example:
|
||||
|
||||
|
|
Loading…
Reference in New Issue