question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't use Backspace when using Terminal mode for Debugging

See original GitHub issue
  • VSCode Version: 1.41.1
  • OS Version: Windows 10 Pro 64-bit (10.0, Build 18362)

Steps to Reproduce:

  1. create launch.json
  2. write "console": "terminal" in your configurations
  3. write the following code that take an input from user :
import 'dart:io';

main() {
  stdout.writeln('what is Your Name ?');
  String name = stdin.readLineSync();
  print('Welcome $name');
}
  1. start debugging

then i can input value , but i can’t use backspace key to undo the text while i write in console.

Untitled

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
DanTupcommented, Feb 13, 2020

@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!

1reaction
DanTupcommented, Feb 13, 2020

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 https://github.com/microsoft/vscode/issues/90618.

Re-opening this issue because it seems a certain bug, and it’s not clear if we need to do work here yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Help! Backspace Doesn't Work in the Linux Terminal
Backspace and Tab keys might not work properly when you're logged in remotely to a Linux system. Here's how you can easily remediate...
Read more >
Backspace doesn't work in Visual Studio - Stack Overflow
In Visual Studio go to: Tools Options Environment Keyboard. Find "Edit.DeleteBackwards" command. In "Use new shortcut in:" dropdown select "Text Editor".
Read more >
Backspace, command and arrow keys don't work after an ...
I'm using 11.1.2 with the scala plugin 0.5.907 on a Mac running Lion and Java 6. Periodically my backspace, command and arrow keys...
Read more >
Backspace, Delete, Arrow Keys, Ctrl/Shift, etc. stop working ...
I can't move with the arrow keys. If I try to use arrow up/down, the drop-down menus above/below the editor get focus (i.e....
Read more >
Mapping control-H in insert mode doesn't work
The problem is that many terminal emulators emit a <C-h> (0x08) when you press <Backspace> , there is no way for Vim to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found