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
Reassign or at least disable ctrl-w combination #993
Comments
Yeah I'm totally supportive of this -- sadly it looks like it's not quite possible though. The most we could do is hook into the beforeunload event (which helps catch accidental closes): thoughts? |
I'm not a web developer but IMO the specified solution looks adoptable for this case. |
Ok I'll try that -- fwiw I made it so it only warns if you're in the middle of solving a level and not just all the time. |
(so its not overly annoying) |
Resolves #993 -- warn on before unloading
"ctrl-w" combination is "remove last word" combination on *nix systems and most git consoles.
But in browsers this is combination to close current tab ://
Well which one combination we should choose for users?
IMO by imitating/pretending git service and git console - we should imitate git shortcuts as well.
So the best way - is to reassign ctrl-w combination to git behavior, the temporary solution is just disable this combination.
I just closed about 10 times my level tab just because tried erase the last word :)
It's really annoying. BTW in most web consoles that I met "ctrl-w" combination conforms with *nix rather than browser behavior.
The text was updated successfully, but these errors were encountered: