Skip to content

Capture ANSI output from stdout / disabling "dumb" terminal mode? #1191

Answered by willmcgugan
bmeares asked this question in Q&A
Discussion options

You must be logged in to vote

You can add force_terminal=True and color_system="truecolor" to the Console constructor.

BTW Rich can export directly to HTML.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bmeares
Comment options

Answer selected by bmeares
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants