We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Console.out() by default enables highlighting even if it is disabled in the Console constructor.
Console.out()
from rich.console import Console console = Console(highlight=False) console.print('cd /usr/lib') # no hightlight console.out('cd /usr/lib') # hightlight
It is expected that Console.out() makes less changes to the output than Console.print().
Console.print()
It happens because the default value of hightlight is True in Console.out() and None in Console.print(). The fix is making it None.
True
None
rich 9.3.0
The text was updated successfully, but these errors were encountered:
Fixed in 9.5.0
Sorry, something went wrong.
No branches or pull requests
Console.out()
by default enables highlighting even if it is disabled in the Console constructor.It is expected that
Console.out()
makes less changes to the output thanConsole.print()
.It happens because the default value of hightlight is
True
inConsole.out()
andNone
inConsole.print()
. The fix is making itNone
.rich 9.3.0
The text was updated successfully, but these errors were encountered: