-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[BUG] Modifying console theme has no effect on traceback #1786
Labels
bug
Something isn't working
Comments
9 tasks
9 tasks
Did I solve your problem? Why not buy the devs a coffee to say thanks? |
This was referenced Jan 9, 2022
netbsd-srcmastr
pushed a commit
to NetBSD/pkgsrc
that referenced
this issue
Jan 11, 2022
11.0.0 Added Added max_depth arg to pretty printing Textualize/rich#1585 Added vertical_align to Table.add_row Textualize/rich#1590 Fixed Fixed issue with pretty repr in jupyter notebook Textualize/rich#1717 Fix Traceback theme defaults override user supplied styles Textualize/rich#1786 Changed breaking Deprecated rich.console.RenderGroup, now named rich.console.Group breaking Syntax.__init__ parameter lexer_name renamed to lexer Syntax constructor accepts both str and now a pygments lexer Textualize/rich#1748
1 task
This was referenced Mar 7, 2022
1 task
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Description
When a traceback is printed to a console which has a modified theme applied to it, the theme's styles are not used when printing the traceback.
Reproduction
In this example, I expect the border of the traceback to be blue and the "tag" name and contents to be black. Instead, the defaults continue to be used. Removing the
theme="bw"
does not produce the expect result either.Platform
MacOS, Terminal App (Happens in VS Code too.)
Diagnostics
The text was updated successfully, but these errors were encountered: