Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Should not beep on backspace with cursor at start of line #422
Beep on backspace with cursor at start of line should not be the default behavior for the default EditMode (-EditMode Windows), but it currently is that way in PowerShell 5.1 (Win10 1607 14393.51).
Right now people are forced to figure out that they must do things like put Set-PSReadlineOption -BellStyle None in their PowerShell profile, or run net stop beep + sc config beep start= disabled, to stop the beeping, as it does not honor the Sounds control panel "No Sounds" scheme, and beeps anyway.
If this change was only intended for -EditMode Vi, maybe as parity, then it should only be the behavior for that edit mode, but should not be the default behavior for -EditMode Windows.
I just noticed it beeps in emacs mode mode on bash - so it's consistent - it definitely shouldn't beep in Windows mode.
I'm not a fan of too many configuration options. If the only justification is to keep behavior as close as possible to bash, then I'll probably just remove the beep. If there is a better justification, I'll reconsider.
Any news on this? It's a (very annoying) bug that's been there for a rather long time now and no updates here...
I've been "forced" to disable the beep service in the office, as it was annoying everyone around me. I realize that I can disable it via Set-PSReadlineOption and a PS profile, but that's just another workaround, not a real fix.