We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Have you checked closed issues? (https://github.com/Textualize/textual/issues?q=is%3Aissue+is%3Aclosed)
Have you checked against the most recent version of Textual? (https://pypi.org/search/?q=textual)
Content.from_rich_text() recognizes conceal and overline (i.e. no MissingStyle exception), but these styles are not rendered.
Content.from_rich_text()
conceal
overline
MissingStyle
Note: I did ensure my terminal was able to render these styles using:
echo -e '\x1b[53moverline\x1b[0m\x1b[21mdoubly-underlined'
rich --print '[overline]overline[/][underline2]doubly-underlined[/]'
#!/usr/bin/env python3 from textual.app import App, ComposeResult from textual.content import Content from textual.widgets import Label STYLES = ("bold", "conceal", "italic", "overline", "reverse", "strike", "underline", "underline2") class ConcealOverline(App): def compose(self) -> ComposeResult: yield Label("conceal and overline no longer work:") rich_markup = " ".join(f"[{style}]{style}[/]" for style in STYLES) content = Content.from_rich_text(rich_markup) yield Label(content) if __name__ == "__main__": app = ConcealOverline() app.run()
The text was updated successfully, but these errors were encountered:
Thank you for your issue. Give us a little time to review it.
PS. You might want to check the FAQ if you haven't done so already.
This is an automated reply, generated by FAQtory
Sorry, something went wrong.
No branches or pull requests
Have you checked closed issues? (https://github.com/Textualize/textual/issues?q=is%3Aissue+is%3Aclosed)
Have you checked against the most recent version of Textual? (https://pypi.org/search/?q=textual)
The bug
Content.from_rich_text()
recognizesconceal
andoverline
(i.e. noMissingStyle
exception), but these styles are not rendered.Note: I did ensure my terminal was able to render these styles using:
echo -e '\x1b[53moverline\x1b[0m\x1b[21mdoubly-underlined'
rich --print '[overline]overline[/][underline2]doubly-underlined[/]'
MRE
Textual Diagnostics
Versions
Python
Operating System
Terminal
Rich Console options
The text was updated successfully, but these errors were encountered: