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
on_mount
As noted by @lllama over on Discord:
Looks like the add_note call in on_mount in the demo app doesn't work? Saving screenshots adds a note okay but the initial one seems to be missing.
Testing here, the last time this worked was 0.7.0. This stops working as of 0.8.0.
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.
Worth noting that this doesn't seem to be a general issue with TextLog itself; this code:
TextLog
from textual.app import App, ComposeResult from textual.containers import Vertical from textual.widgets import Header, Footer, TextLog class TextLogTester( App[ None ] ): def compose( self ) -> ComposeResult: yield Header() yield Vertical( TextLog() ) yield Footer() def on_mount( self ) -> None: self.query_one( TextLog ).write( "This was done on mount" ) if __name__ == "__main__": TextLogTester().run()
works as expected with Textual v0.9.1.
Don't forget to star the repository!
Follow @textualizeio for Textual updates.
Successfully merging a pull request may close this issue.
As noted by @lllama over on Discord:
Testing here, the last time this worked was 0.7.0. This stops working as of 0.8.0.
The text was updated successfully, but these errors were encountered: