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

Exit without tracebacks #5325

Open
darrenburns opened this issue Dec 2, 2024 · 0 comments
Open

Exit without tracebacks #5325

darrenburns opened this issue Dec 2, 2024 · 0 comments

Comments

@darrenburns
Copy link
Member

As a developer, there are situations where I want to be able to exit the app and display a simple message to the end user.

Right now, Textual apps don't immediately exist when asked to, meaning invalid state can cause tracebacks to accumulate inside the App._exit_renderables.

I'd like to control exactly what users see on exit (one specific renderable), rather than the a renderable followed by a bunch of tracebacks.

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

No branches or pull requests

1 participant