You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be an issue with the rendering of a Panel in which the content is a multi-line string with ANSI characters for colors. The right hand border is not vertically aligned
Describe the bug
There seems to be an issue with the rendering of a Panel in which the content is a multi-line string with ANSI characters for colors. The right hand border is not vertically aligned
text = '\x1b[35mhttps://bpkio-test-adserver.herokuapp.com\x1b[0m\n\x1b[33m /api/v1/vast\x1b[0m\n \x1b[37m\x1b[2m?\x1b[0m \x1b[36mcoll\x1b[0m \x1b[37m\x1b[2m=\x1b[0m \x1b[34m\x1b[1mDAI_Ads\x1b[0m\n \x1b[37m\x1b[2m&\x1b[0m \x1b[36mdur\x1b[0m \x1b[37m\x1b[2m=\x1b[0m \x1b[31m\x1b[22m$_MMVAR_LIVEAR_SLOTDURATION\x1b[0m\n \x1b[37m\x1b[2m&\x1b[0m \x1b[36msessionid\x1b[0m \x1b[37m\x1b[2m=\x1b[0m \x1b[32m\x1b[22m$arg_sessionid\x1b[0m\n \x1b[37m\x1b[2m&\x1b[0m \x1b[36mserviceid\x1b[0m \x1b[37m\x1b[2m=\x1b[0m \x1b[32m\x1b[22m$arg_serviceid\x1b[0m\n \x1b[37m\x1b[2m&\x1b[0m \x1b[36muid$arg_sessionid\x1b[0m \x1b[37m\x1b[2m=\x1b[0m \x1b[34m\x1b[1mNone\x1b[0m'
panel = Panel(text, expand=False)
console.print(panel)
Platform
Click to expand
What platform (Win/Linux/Mac) are you running on? What terminal software are you using?
Mac, in iTerm2
I may ask you to copy and paste the output of the following commands. It may save some time if you do it now.
If you're using Rich in a terminal:
The text was updated successfully, but these errors were encountered: