-
Notifications
You must be signed in to change notification settings - Fork 447
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
Support Ctrl+Backspace to delete word #14
Comments
That's something you would need to configure in your shell, or maybe add some kind of 'per shell' keyboard aliases to Fluent Terminal. What shell are you using? |
Crtl + Backspace is a standard Windows shortcut, it works across all apps including PowerShell and cmd. However, xtermjs seems to not support it. Hyper doesn't support it either, for example. Since you asked, I'm using pwsh. |
Bash in the WSL Ubuntu 18.04 obeys Alt+Backspace, so this is likely less of a "Does the terminal emulator pass my keystrokes correctly" and more of a "What does your shell do with the keystrokes" question. |
When i try to ctrl + backspace in the Bash on WSL Ubuntu 18.04 it will onlydelete the last character like when i use backspace without ctrl. I tried bash, zsh, fish ans dash and all have the same behaviour. |
Try Alt+Backspace, see if that works. |
yes alt + backspace works. thanks. |
Can you explain why this is mapped to |
in xterm.js: https://github.com/xtermjs/xterm.js/blob/509ce5fa3a698ee7847419117e9dd6b979b105bf/src/core/input/Keyboard.ts#L90 We could either start a discussion there or create a workaround in attachCustomKeyEventHandler on our site |
Thanks for the quick reply. Obviously it would be nice if they could make these keyboard shortcuts configurable |
This is a major deal breaker for me, since I use this shortcut so often. Found a workaround.
|
Alt + backspace doesn't work for me neither. I don't understand why it is so difficult to implement this. In Windows all consoles (cmd, Powershell) support this. |
It's probably an XTerm.js issue, so feel free to close this one if it's the case.
The text was updated successfully, but these errors were encountered: