Textualize / textual

The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
https://textual.textualize.io/
MIT License
25.57k stars 785 forks source link

`inline_no_clear` broken in v0.77.0 #5019

Closed TomJGooding closed 1 month ago

TomJGooding commented 1 month ago

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)
github-actions[bot] commented 1 month ago

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 commented 1 month ago

Still broken in 0.79.1 FWIW

Hope it can be fixed soon.

github-actions[bot] commented 1 month ago

Don't forget to star the repository!

Follow @textualizeio for Textual updates.