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.

Terminal reprints path and duplicates characters when using some unicode chars on Windows

See original GitHub issue

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

  • VS Code Version: 1.65.0-insider
  • OS Version: Windows 10 21H2

Steps to Reproduce:

  1. Install oh-my-posh and use the theme here
  2. Run anycommand in VSCode terminal

2022-02-12_13-28-04

By installing another fresh Visual Studio Code won’t solve either.

For escape sequence logging:

image

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Tyriarcommented, Aug 10, 2022

This happens because of ambiguous width unicode symbols conflicting between vscode/xterm.js and conpty reprinting the screen. The only solution currently is to remove problem characters from your prompt.

0reactions
RichardCYCcommented, Dec 14, 2022

~I encountered the same problem and the duplicated characters showed up when I press tab.~ Found the suggestion here and switching to a theme without icon at the start of the line fixed the issue!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use unicode characters in Windows command line?
The most secure solution is this one: Go to your Registry key HKEY_CURRENT_USER\Software\Microsoft\Command Processor and add String value Autorun = chcp 65001 ....
Read more >
Inserting an ASCII or Unicode special character is typed twice
I have problem inserting a symbol or international characters using the keyboard with ASCII or Unicode character codes.
Read more >
Unicode characters being replaced by question marks after ...
Open the Administrative tab and click on the Change system locale button. Choose a locale that is different to your current locale. I...
Read more >
Documentation - iTerm2 - macOS Terminal Replacement
Any text that exists in a tab or its scrollback buffer can be autocompleted in that tab. To use autocomplete, type the beginning...
Read more >
Clink v1.4.7 - GitHub Pages
Clink combines the native Windows shell cmd.exe with the powerful command line ... East Asian characters whose widths are ambiguous in the Unicode...
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