-
Notifications
You must be signed in to change notification settings - Fork 304
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
Can't use Backspace when using Terminal mode for Debugging #2230
Comments
@gogoIsComing I was (literally!) just looking at this! I can repro in both Stable and Insiders - what's the reason you closed it? |
This happens even using the VS Code "local echo" sample code in the docs, and it's not clear whether it's fixable in the extension. I've opened microsoft/vscode#90618. Re-opening this issue because it seems a certain bug, and it's not clear if we need to do work here yet. |
@DanTup i already opened an issue microsoft/vscode#89139 (before current issue) |
@gogoIsComing ah, thanks! It may be an extension issue, but the sample code fails in the same way and I can't see a way in the API for us to handle it. I'll keep this open while waiting for a response though. Thanks! |
Ok, looks like this is by-design in VS Code, so we'll need to fix another way. It seems silly to implement it as suggested (we'd end up with a lot of code just to pretend to be a terminal) so I'm going to switch from the pseudoterminal to a real terminal and use dart-lang/sdk#38418 to connect the debugger. |
Debug adapter sends a custom event to the editor allowing it to spawn the process locally, and watches for the --write-service-info file to connect to the VM. Fixes #2230.
Debug adapter sends a custom event to the editor allowing it to spawn the process locally, and watches for the --write-service-info file to connect to the VM. Fixes #2230.
Steps to Reproduce:
"console": "terminal"
in yourconfigurations
then i can input value , but i can't use
backspace
key to undo the text while i write in console.The text was updated successfully, but these errors were encountered: