-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
[Integrated Terminal] Allow ctrl+backspace to delete entire word in cmd.exe #98404
Comments
@Tyriar I'm still seeing |
@RMacfarlane I am unable to reproduce the deletion of single characters in Your description of the behavior appears to be the same as that prior to #98494; however, Since #98494 was merged, I have been seeing the correct behavior in code-insiders. It is strange that your version seems to be without the change.
Is
In practice I do occasionally run into this. This should only ever affect I suppose the issue here is more related to how keybindings are handled in that when there is a collision of bindings and one version is conditionally based on the currently focused shell, it requires one to unfocus the terminal for it to take effect. |
I get this too. I see it both in powershell and in the python REPL running in powershell. |
@gvanrossum you might be on an older version of powershell? pwsh 7 works for me. For python, created #114919 |
In Windows Terminal this works regardless of the backend, i.e. it works in python, CMD, whatever |
@nt4f04uNd I believe Windows Terminal sends actual keystrokes via the Windows native console API for these which would be handled correctly, whereas we want to avoid treating the communication with the underlying process on Windows specially. |
@lf-novelt there is a default keybinding for cmd and it works fine for me: You may need to update Windows if it's not working for you? |
Within the integrated terminal using
cmd.exe
, I'd like to be able to usectrl+backspace
in order to delete an entire word, as can be done in the regular editor.ctrl+backspace
does work inside powershell, but not when usingcmd.exe
.This is currently possible within the new Windows Terminal as well as the "old" Windows 10 terminal,
microsoft/terminal#755
The text was updated successfully, but these errors were encountered: