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

Prevent Ctrl+W from closing tab in Codespaces #108217

Closed
ginpei opened this issue Oct 6, 2020 · 2 comments
Closed

Prevent Ctrl+W from closing tab in Codespaces #108217

ginpei opened this issue Oct 6, 2020 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@ginpei
Copy link

ginpei commented Oct 6, 2020

I love using the VS Code and tried Codespaces on GitHub today, then found the keyboard shortcut Ctrl+W closes the web page itself instead of file editor. We can probably not change that behavior, but is it possible to stop such an accident by something like window.onbeforeunload?

The Codespaces led me to this repository to send feedback. If it is wrong place, please let me know.

@bpasero
Copy link
Member

bpasero commented Oct 7, 2020

/duplicate #14710

@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants
@ginpei @bpasero and others