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

Add workaround for CTRL+Q functionality #56

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

halvarsson
Copy link
Collaborator

This PR fixes #52, we do support prompting for saving on exit, but there seem to be a bug in Terminal.Gui that can be reproduced in the UICatalog sample project too

It seems the key for CTRL+Q isnt caught when defined in the MenuBar, however.. it seems to work fine from the StatusBar

Therefore, adding in this workaround, to get it working again

@halvarsson halvarsson closed this Apr 29, 2024
@halvarsson halvarsson reopened this Apr 29, 2024
@halvarsson halvarsson merged commit 2ffbbe2 into ironmansoftware:main Apr 29, 2024
2 checks passed
@halvarsson halvarsson deleted the ctrl-q-exit-workaround branch April 29, 2024 19:28
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 this pull request may close these issues.

Consider prompting for saving before quitting when the buffer has been modified.
1 participant