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

Enhance confirmation dialog behavior based on current running child process of the pty #55

Open
lxsang opened this issue Aug 29, 2023 · 0 comments

Comments

@lxsang
Copy link
Owner

lxsang commented Aug 29, 2023

I prefer having the confirmation dialog as well. Though I would like to suppress it for some processes as can bedone with the setting “Ask before closing” in Terminal on macOS (see the screenshot below). When I open a Terminal window and run sleep 10, it will ask for confirmation first when I click the window’s close button before the ‘sleep’ process is done. But if I run screen sleep 10,
it does not ask for confirmation. The list only applies to the direct child processes of the login shell process. So if I run sh -c 'screen sleep 10; echo done', it still asks for confirmation.

Terminal Setting "Ask Before Closing"

Originally posted by @Rinzwind in #54 (comment)

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