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.

[Accessibility] Character is not read properly in terminal input after auto-completion

See original GitHub issue

CC @isidorn

Found the following issue in both NVDA and JAWS.

Closely related to #131090.

Does this issue occur when all extensions are disabled?: Yes

System Info

Version: 1.60.0-insider (system setup) Commit: 89bbd372f459ce72e9c0b60eb3b26b924f64f62d Date: 2021-08-20T17:51:50.560Z Electron: 13.1.8 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.19043

Steps to Reproduce

  1. Open VSCode with NVDA.
  2. Open terminal by pressing Ctrl+`.
  3. Type touch foo.txt to create a new file.
  4. Once the file is created, type fo and hit Tab key to auto-complete foo.txt in terminal input. [do NOT hit Enter yet]
  5. To change the file extension, press left-arrow key to identify “.txt”.
  • Notes: Focused character is not read as intended. This issue occurs only after auto-completion event is triggered.

In contrast, the following usecase does not cause this issue:

  1. Manually type foo.txt in terminal and hit left-/right-arrow keys.
  • Notes: Focused character is read properly this time.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Tyriarcommented, Oct 11, 2021

We would also want to cover other cases like up/down changing the prompt history entry (https://github.com/microsoft/vscode/issues/94708)

0reactions
isidorncommented, Oct 11, 2021

Thanks for the update @Tyriar Makes sense to introduce this after we have support for shell integration.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ui.autocomplete does not correctly display special character
When you make the request using ajax the server is returning valid HTML and HTML requires that such characters be expressed as entities....
Read more >
Guidelines for the accessibility of an autocompletion component
Presentation of our approach and selected guidelines for autocompletion components.
Read more >
Terminal autocomplete doesn't work properly - Ask Ubuntu
If I start typing a command like apt-g after hitting tab , the shell completes the command to apt-get , but for the...
Read more >
Autosuggest widget (or: autocomplete, lookahead, typeahead)
We do not call autosuggests "autocompletes" so the difference to HTML's ... even if they have not seen any other autosuggest before.
Read more >
How does Fig know what you've typed in the terminal? - Fig.io
After all, there are plenty of other autocomplete solutions integrated with the shell — zsh has plugins like zsh autosuggestions, fish shell ...
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