Skip to content
New issue

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

inline_no_clear broken in v0.77.0 #5019

Closed
TomJGooding opened this issue Sep 18, 2024 · 3 comments · Fixed by #5022
Closed

inline_no_clear broken in v0.77.0 #5019

TomJGooding opened this issue Sep 18, 2024 · 3 comments · Fixed by #5022

Comments

@TomJGooding
Copy link
Contributor

TomJGooding commented Sep 18, 2024

It looks like the inline_no_clear option was broken in v0.77.0, from a quick git bisect the culprit seems to be commit 8c01ef7.

If you run the app below where inline_no_clear=True, the app output is cleared on exit:

from textual.app import App, ComposeResult
from textual.widgets import Static


class InlineNoClearApp(App):
    def compose(self) -> ComposeResult:
        yield Static("Quitting should not clear the app output")


if __name__ == "__main__":
    app = InlineNoClearApp()
    app.run(inline=True, inline_no_clear=True)
Copy link

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

@machin3io
Copy link

Still broken in 0.79.1 FWIW

Hope it can be fixed soon.

Copy link

Don't forget to star the repository!

Follow @textualizeio for Textual updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants