-
Notifications
You must be signed in to change notification settings - Fork 873
"Do you want to quit?" notification won't show when ModalScreen is pushed to the top #5474
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
Comments
I can't see a "Do you want to quit?" notification in the example above, did you perhaps paste the wrong code? Edit: Sorry, I've just read the issue again and realise now you mean the 'quit help' notified by default when you try to quit with |
Yes I'm referring to this. Cheers! |
I think I'm going to leave it as is. Modal dialogs are somewhat of a special case. If a modal dialog is present, you probably don't want the user hard quitting. Willing to be convinced otherwise. |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
yes
yes, tested on textual 1.0.0.
As per title, the "Do you want to quit?" notification won't show when a
ModalScreen
is pushed to the top and ctrl+c is pressed.This is reproduced using the ModalScreen doc example:
Note that the same problem does not happen when pushing
Screen
(in place ofModalScreen
).Diagnostic output:
The text was updated successfully, but these errors were encountered: