Using rich to write to (linux) virtual consoles #2136
-
I would like to use I can use
That will run the demo on the virtual console just fine. I was hoping that I could bypass using I have tried: from rich.console import Console
console = Console(force_terminal=True, force_interactive=True, file="/dev/tty4")
console.print("Hello World!") What I get is the following error:
the environment is correctly set:
If I call the constructor without a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The file argument accepts a file, not a path. |
Beta Was this translation helpful? Give feedback.
The file argument accepts a file, not a path.