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

Special characters not correctly displayed in integrated terminal #53769

Closed
renkun-ken opened this issue Jul 7, 2018 · 8 comments
Closed

Special characters not correctly displayed in integrated terminal #53769

renkun-ken opened this issue Jul 7, 2018 · 8 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug macos Issues with VS Code on MAC/OS X terminal General terminal issues that don't fall under another label upstream Issue identified as 'upstream' component related (exists outside of VS Code) verified Verification succeeded
Milestone

Comments

@renkun-ken
Copy link

  • VSCode Version: 1.25.0
  • OS Version: macOS 10.13.5

Steps to Reproduce:

  1. Open git folder in VSCode
  2. Open the integrated terminal
  3. Run tig and see the special characters not correctly shown if the row is not selected

image

If a row is selected, then the characters seem correct.

image

@Tyriar
Copy link
Member

Tyriar commented Jul 9, 2018

Weird, seems to work fine for me:

screen shot 2018-07-09 at 5 53 45 am

Could you setup the xterm.js demo and see if you can reproduce there? https://github.com/xtermjs/xterm.js#linux-or-macos

@Tyriar Tyriar added the info-needed Issue requires more information from poster label Jul 9, 2018
@Tyriar
Copy link
Member

Tyriar commented Jul 9, 2018

It could be a font problem as well, try changing your font (I'm using Hack).

@renkun-ken
Copy link
Author

I tried Menlo (VSCode default for macOS) and Monaco (macOS default), both not working.

@Tyriar
Copy link
Member

Tyriar commented Jul 9, 2018

Could you try setup the xterm.js demo and see if it reproduces over there? https://github.com/xtermjs/xterm.js/wiki/Contributing#linux-or-macos

After you get it setup you can enable debug move and view exactly what is being sent to the terminal by the pty. This will help identify at which point the problem is occurring. https://github.com/xtermjs/xterm.js/wiki/Contributing#enabling-debug-mode

@vscodebot vscodebot bot removed the new release label Jul 10, 2018
@Tyriar
Copy link
Member

Tyriar commented Jul 12, 2018

Upstream issue: xtermjs/xterm.js#1565

@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug macos Issues with VS Code on MAC/OS X terminal General terminal issues that don't fall under another label and removed info-needed Issue requires more information from poster labels Jul 12, 2018
@Tyriar
Copy link
Member

Tyriar commented Jul 12, 2018

I couldn't repro as I was using the dynamic texture atlas, see xtermjs/xterm.js#1565 for more info.

@Tyriar Tyriar added the upstream Issue identified as 'upstream' component related (exists outside of VS Code) label Jul 12, 2018
@Tyriar Tyriar added this to the July 2018 milestone Jul 12, 2018
@Tyriar
Copy link
Member

Tyriar commented Jul 12, 2018

The fix for this will come in with the July build (1.26), in the meantime this setting should workaround the problem:

"terminal.integrated.experimentalTextureCachingStrategy": "dynamic"

This setting should be stable and will also be the default in the next release.

@Tyriar Tyriar closed this as completed in a2aafe0 Jul 12, 2018
@renkun-ken
Copy link
Author

Thanks! terminal.integrated.experimentalTextureCachingStrategy does work for me.

@mjbvz mjbvz added the verified Verification succeeded label Aug 2, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug macos Issues with VS Code on MAC/OS X terminal General terminal issues that don't fall under another label upstream Issue identified as 'upstream' component related (exists outside of VS Code) verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants