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

Backspace doesn't work in integrated console on Linux and macOS #533

Closed
daviwil opened this issue Mar 14, 2017 · 2 comments
Closed

Backspace doesn't work in integrated console on Linux and macOS #533

daviwil opened this issue Mar 14, 2017 · 2 comments
Assignees
Labels
Issue-Bug A bug to squash.
Milestone

Comments

@daviwil
Copy link
Contributor

daviwil commented Mar 14, 2017

The backspace key isn't working in the integrated console on Linux and macOS. This is likely a simple issue, just needs to be investigated.

In the meantime, a workaround is to press Ctrl+H to emulate backspace.

@daviwil daviwil added the Issue-Bug A bug to squash. label Mar 14, 2017
@daviwil daviwil added this to the 0.10.1 milestone Mar 14, 2017
@daviwil daviwil self-assigned this Mar 14, 2017
@daviwil daviwil modified the milestones: 0.10.1, 0.10.2 Mar 16, 2017
@gmckeown
Copy link

I'm seeing this issue on Ubuntu 16.10 with VSCode 1.10.2, PowerShell extension 0.10.1, and PowerShell 6.0.0 alpha 17. Keyboard layout is United Kingdom English.

As indicated above, ctrl-H does backspace. Shift-Backspace also works. Both result in "^H" appearing on-screen briefly before the backspace occurs.

@daviwil
Copy link
Contributor Author

daviwil commented Mar 20, 2017

I've got a fix in progress for this but it may take a few more days to fully validate it. Should fix all of the key handling issues and the ^H printing issue.

@daviwil daviwil modified the milestones: 0.11.0, 0.10.2 Mar 20, 2017
daviwil added a commit to daviwil/PowerShellEditorServices that referenced this issue Mar 21, 2017
…nux issues

This change uses a new strategy for providing a quasi-async
Console.ReadKey implementation so that key handling works better on Linux
and macOS.  This should eliminate issues where keys and escape sequences
were being echoed incorrectly.  It should also eliminate the issue where
the backspace key is unusable on these platforms.

Resolves PowerShell/vscode-powershell#533.
Resolves PowerShell/vscode-powershell#542.
daviwil added a commit to daviwil/PowerShellEditorServices that referenced this issue Mar 21, 2017
…nux issues

This change uses a new strategy for providing a quasi-async
Console.ReadKey implementation so that key handling works better on Linux
and macOS.  This should eliminate issues where keys and escape sequences
were being echoed incorrectly.  It should also eliminate the issue where
the backspace key is unusable on these platforms.

Resolves PowerShell/vscode-powershell#533.
Resolves PowerShell/vscode-powershell#542.
daviwil added a commit to daviwil/PowerShellEditorServices that referenced this issue Mar 22, 2017
…nux issues

This change uses a new strategy for providing a quasi-async
Console.ReadKey implementation so that key handling works better on Linux
and macOS.  This should eliminate issues where keys and escape sequences
were being echoed incorrectly.  It should also eliminate the issue where
the backspace key is unusable on these platforms.

Resolves PowerShell/vscode-powershell#533.
Resolves PowerShell/vscode-powershell#542.
daviwil added a commit to daviwil/PowerShellEditorServices that referenced this issue Mar 22, 2017
…nux issues

This change uses a new strategy for providing a quasi-async
Console.ReadKey implementation so that key handling works better on Linux
and macOS.  This should eliminate issues where keys and escape sequences
were being echoed incorrectly.  It should also eliminate the issue where
the backspace key is unusable on these platforms.

Resolves PowerShell/vscode-powershell#533.
Resolves PowerShell/vscode-powershell#542.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug A bug to squash.
Projects
None yet
Development

No branches or pull requests

2 participants