-
Notifications
You must be signed in to change notification settings - Fork 524
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
ctrl+w closes the browser window in webssh2 #267
Comments
Is there anyway not to close the browser when we hit ctrl+w |
Probably need something it this to capture it. https://stackoverflow.com/questions/7295508/javascript-capture-browser-shortcuts-ctrlt-n-w Will play around with it. |
Thanks @billchurch for your reply... I have gone through the links of the link which you provided.. seems it's not possible to overwrite the reserved the keyboard shortcuts... Let's give a try ..I will update if any progress... Please commit if any possible workaround... blocked to use nano editor search functionality due to this restriction |
Yeah, everything points to this being hard-wired for Windows and Linux versions (Mac uses command+W so not an issue there). There are some browser extensions which can help (though user has to install)
And some OS level fixes: Closing this as it seems not possible in the code we control. |
Browser is getting closed when we press ctrl+w in webssh2 app
ctrl+w is assigned to search a text in nano editor in linux\ubuntu
Please help me on this
node -v
v14.17.5npm -v
6.14.14cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.3 LTS"
VERSION_ID="20.04"
grep version app/package.json
0.4.2sshd -v
OpenSSH_8.2p1 Ubuntu-4ubuntu0.3, OpenSSL 1.1.1fThe text was updated successfully, but these errors were encountered: