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

RIDE should ask "are you sure" before exiting on a key stroke #46

Closed
jayfoad opened this issue Jan 19, 2017 · 3 comments
Closed

RIDE should ask "are you sure" before exiting on a key stroke #46

jayfoad opened this issue Jan 19, 2017 · 3 comments
Assignees
Labels
Milestone

Comments

@jayfoad
Copy link
Contributor

jayfoad commented Jan 19, 2017

RIDE 4 on Linux exits immediately (killing my spawned interpreter) if I do any of:

  • press Ctrl+Q
  • press Alt+F4
  • click on the x in the window decoration

All of these ought to prompt me with an "are you sure?" dialog. (But there's no need to prompt if I type )off/)continue/⎕off in the session.)

@jayfoad
Copy link
Contributor Author

jayfoad commented Jan 19, 2017

Same goes for Cmd+W on a Mac. JS said "It's very easy to lose your work by typing Cmd+w instead of Alt+w (for ⍵)."

@e9gille
Copy link
Contributor

e9gille commented Feb 17, 2017

The fix I put in will prompt even on close from File menu. This is different from ODE, but does it matter?

@jayfoad
Copy link
Contributor Author

jayfoad commented Feb 17, 2017

Personally I think it's OK to prompt even on File/Quit. We can always refine the fix later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants