-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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
Terminal unexpected display #204690
Comments
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.0. Please try upgrading to the latest version and checking whether this issue remains. Happy Coding! |
I cannot reproduce. Can you in insiders? |
Here's some debugging info, hopefully it helps. I dumped the styles from the div that holds the terminal window: https://gist.github.com/mmastrac/faa9001068b56a3f05787100e15b94f8
And from the
|
@meganrogge |
@nonprenom I'm not using any sort of remote desktop. It just appears that a terminal "rots" after being in the background long enough (maybe the laptop going to sleep?). |
Have had same issue for weeks |
What do you mean by terminals in accessible mode? |
Hi So it happend to me often without RDP before or switching reslution - what can I save or check to help here ? |
It appears the affected terminal is switching from a canvas/GPU renderer to an HTML renderer. There are a few accessibility messages scattered around the terminals that switch when browsing the DOM. I am not sure how any of the terminal rendering code works, so that's just a guess that it's accessibility. |
@Tyriar Let me know if you'd like me to set a breakpoint somewhere and monitor a running instance. For now I'll try to set a breakpoint on that line and see if I can get you the cached W width. |
The letter spacing is determined by this line: The width cache gives 0: |
xtermjs/xterm.js#4973 should fix it |
Thank you, @Tyriar. Appreciate the investigation and fix. |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
2 The terminal is running correctly
3 to fix it, I can
Now that i'm thinking about, maybe it's because I previously connect to my PC from remote RDP ?
Version: 1.85.2
Commit: 8b37750
Date: 2024-01-18T06:40:10.514Z
Electron: 25.9.7
ElectronBuildId: 26354273
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045
The text was updated successfully, but these errors were encountered: