Change:
resolved "https://registry.yarnpkg.com/@vscode/vscode-languagedetection/-/vscode-languagedetection-1.0.21.tgz#89b48f293f6aa3341bb888c1118d16ff13b032d3" integrity sha512-zSUH9HYCw5qsCtd7b31yqkpaCU6jhtkKLkvOOA8yTrIRfBSOFb8PPhgmMicD7B/m+t4PwOJXzU1XDtrM9Fd3/g== <del> "@xterm/addon-canvas@0.6.0-beta.31": version "0.6.0-beta.31" resolved "https://registry.yarnpkg.com/@xterm/addon-canvas/-/addon-canvas-0.6.0-beta.31.tgz#17cc7d9968ede411fb23db11813b495435c068a0" integrity sha512-jm/7FWZOgnAGG7MXjr0W4SnuIzsag+oVpyf6wAD9UlCgq5HBuk/3kJ5mYGiGR7CpdTxqXmzyBk3OhQe8npZ1aQ== "@xterm/addon-image@0.7.0-beta.29": version "0.7.0-beta.29" resolved "https://registry.yarnpkg.com/@xterm/addon-image/-/addon-image-0.7.0-beta.29.tgz#276b56007c9009e7a59605dc3809c280e7d637ed" integrity sha512-Z5JCuhl0AcwQA+DE/kQMeSSHZbfwJVLUUBodDeujVItQrcpc9vA8mxf/qIwS3XTA/tPbFihfc/CE9zL7OFdbaw== "@xterm/addon-search@0.14.0-beta.31": version "0.14.0-beta.31" resolved "https://registry.yarnpkg.com/@xterm/addon-search/-/addon-search-0.14.0-beta.31.tgz#e6edcd257f5a66bca7e92e62684132b604fb817d" integrity sha512-SS4CdgciLT98Uc4Dq0IjJegHcGIjGaASTcMtVkNBx9dOat9xt6lCXmtgUUj5w0KlB8nUfKrcy5T6fHgzrOzvrw== "@xterm/addon-serialize@0.12.0-beta.31": version "0.12.0-beta.31" resolved "https://registry.yarnpkg.com/@xterm/addon-serialize/-/addon-serialize-0.12.0-beta.31.tgz#daec32b94d45afcd662351d7689cb1b19eb24db7" integrity sha512-MZ24pw33qOJrHdA6tlvwE4dSSpmIp/H9ZKtbiWZvuxVsY/hfYYPOluBQiCsOiYT7bZ8gQub2OOBX3jyMoZVxnQ== "@xterm/addon-unicode11@0.7.0-beta.31": </del> <ins> "@xterm/addon-canvas@0.6.0-beta.33": version "0.6.0-beta.33" resolved "https://registry.yarnpkg.com/@xterm/addon-canvas/-/addon-canvas-0.6.0-beta.33.tgz#5fe1547f74fbb9538ccc98c299fb1342bf739fb5" integrity sha512-SJBoCJf62D315IduJwgHwCS2B0RzTc34GTJC5kNBzn/Y7Jr1IdvTbWwf4epleOZo+NkT0/mhj3OUO6zKeljDKA== "@xterm/addon-image@0.7.0-beta.31": </ins> version "0.7.0-beta.31" <del> resolved "https://registry.yarnpkg.com/@xterm/addon-unicode11/-/addon-unicode11-0.7.0-beta.31.tgz#e1a6e965638ee6cb59b8b0777387037c42582d4b" integrity sha512-wrZLt2s6Yjmpe4nh0Sp6DKji0EoHod7V6ABfWBf8krjmEGSleE+GSb+ZwDOMsNzLJLmxoq1e6glHcVixG1z7WQ== "@xterm/addon-webgl@0.17.0-beta.31": version "0.17.0-beta.31" resolved "https://registry.yarnpkg.com/@xterm/addon-webgl/-/addon-webgl-0.17.0-beta.31.tgz#15dfea4583ff9b65f1a442e5cdba1d1638adb05f" integrity sha512-wqbBDDppwQ4R8o0YgnyFL8Pai2mVZqHb3E097vkFLB5Fw2hNx2dys3MgiXriSGXaUABKM3usVdZyouL6QgWdxQ== "@xterm/xterm@5.4.0-beta.31": version "5.4.0-beta.31" resolved "https://registry.yarnpkg.com/@xterm/xterm/-/xterm-5.4.0-beta.31.tgz#ff0bb3af9b00b0dfc73e84075f4218440c9886be" integrity sha512-EpCtaYqMhJSyZrGY2sJVZeRCIRrANKtv1GGTj+IQPvk6hTiJHGrFHLM0tZ0dj0l3z65tLoOdj6EzJnjzX3Pqjw== </del> <ins> resolved "https://registry.yarnpkg.com/@xterm/addon-image/-/addon-image-0.7.0-beta.31.tgz#1fc22cfddfc8e0a178324b5945c1882af50afe12" integrity sha512-Ofm3igHyOATnEbc6QBxWfq2M5dZDLlByMOqzGA/2nOWv0LWtjb1u2DzAcXC3d0GIsGvlqI4342la8BZjWj2ALg== "@xterm/addon-search@0.14.0-beta.33": version "0.14.0-beta.33" resolved "https://registry.yarnpkg.com/@xterm/addon-search/-/addon-search-0.14.0-beta.33.tgz#84af247dde45c35e90bd334ecb1caf1d73683a14" integrity sha512-I88tfCnac5CLmIn6alMCI+bXh3rTq40KOnfPiyM3IyGMSEj56jiL1xU2pctPGX4tD8fr2X22ICHnFzLCREOoEg== "@xterm/addon-serialize@0.12.0-beta.33": version "0.12.0-beta.33" resolved "https://registry.yarnpkg.com/@xterm/addon-serialize/-/addon-serialize-0.12.0-beta.33.tgz#4f6491dab94490bb2dafb310439f6351fdb5d620" integrity sha512-V4UgqKhvYC+6qMjJsBRAzgnvroPE4Boqs75AVOPlhmAxSTlttuVJQUEwGEd2/kcu8ptEo6CcPsfCFTFQJgFZlw== "@xterm/addon-unicode11@0.7.0-beta.33": version "0.7.0-beta.33" resolved "https://registry.yarnpkg.com/@xterm/addon-unicode11/-/addon-unicode11-0.7.0-beta.33.tgz#01bb9ec1ba00d2cfd32c16600bac33c8e239adca" integrity sha512-vJPiyadR83n0H2OMkZlLS5af5+9o6oavUadDLLV4SlDbf1t3U+mqePYZFvr9wCbZrtEQ/P9SuJ7HehTHLZidwQ== "@xterm/addon-webgl@0.17.0-beta.33": version "0.17.0-beta.33" resolved "https://registry.yarnpkg.com/@xterm/addon-webgl/-/addon-webgl-0.17.0-beta.33.tgz#6b859fc2393e483f13cf391b0bd00af1e9086ed0" integrity sha512-brR0BAvS5I92z5UiFOFPn8w8RboBM5Gzjl/zpVDSY+iVYeqcQy7d5uSt/G6yXWVv8E3NaNWHmwWmB71gj9YvVg== "@xterm/xterm@5.4.0-beta.33": version "5.4.0-beta.33" resolved "https://registry.yarnpkg.com/@xterm/xterm/-/xterm-5.4.0-beta.33.tgz#9c656a2b1799c9b98349a232b206f6bfff9401ee" integrity sha512-eeKjd5TpyUqRGmiqFl6PZjIlDhP7eNWU1uD6zHC12CfrarJH7Lc993PQpfnfuL8pe4QJGBMIEBU6VgEQ7LKtBw== </ins> jschardet@3.0.0: version "3.0.0"

Discussion:
<!-- Do Not Delete This! bugreporttemplate --<!-- Please read our Rules of Conduct: --<!-- Read our guide about submitting issues: --<!-- Search existing issues to avoid creating duplicates. --<!-- Test using the latest Insiders build to see if your issue has already been fixed: --<!-- Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --<!-- Launch with to check. --Does this issue occur when all extensions are disabled?: Yes <!-- If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --<!-- Issues caused by an extension need to be reported directly to the extension publisher. The 'Help Report Issue' dialog can assist with this. --- VS Code Version: 1.85.2 OS Version: windows 10 Steps to Reproduce: focus to a running terminal tab : anti aliasing looks activated there are spaces between the characters 2 The terminal is running correctly 3 to fix it, I can close and reopen the terminal change some settings of the terminal (curson blink on/off for example) ! Now that i'm thinking about, maybe it's because I previously connect to my PC from remote RDP ? Version: 1.85.2 Commit: Date: 2024-01-18T06:40:10.514Z Electron: 25.9.7 ElectronBuildId: Chromium: 114.0.5735.289 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.
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?
I see the same thing on Mac. It happens after VSCode has been running for a while. The only real setting I've tweaked is that I've set my scrollback to . Below is a screenshot of a newly opened terminal next to the old one, which will work fine for some time. Eventually they all become like this and I need to restart them.

Confirmed that toggling the cursor blink setting resets these terminals to a working state. <img width="905" alt="image" src=""
Here's some debugging info, hopefully it helps. I dumped the styles from the div that holds the terminal window: And from the div, styles
The problem appears to be this style. If I toggle the style rule, the terminal appears to be fixed: <img width="239" alt="image" src=""I'm not sure why, but only the terminals that are in an accessible mode (why are some of them switching to be accessible?) seem to be broken.
Can it be connected to a previous remote desktop connection to the PC running vscode ? When connecting and disconnecting, the resolution change and, maybe, the terminal is not refresh correctly ? Are you using such a remote desktop connection on your mac when it happend ?
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.
I've been seeing this issue randomly for the better part of a year: ! Not sure what causes it. It seems to occur with long-running terminal sessions, after some time has passed. In my case, they are training runs for machine learning. I'm using Code-OSS on Arch Linux with x11. This seems to happen more frequently when my system "freezes", for whatever reason. While doing ML, my system will often hang, as weights are written to disk, or big pages are swapped between memory/disk. During this time, my entire system becomes unresponsive, as those tasks take priority. It is EXTREMELY COMMON for this issue to occur just after that happens. Though it will only affect 1 or 2 terminals, typically; not all of them.

There's also an uncommon version of this bug, where the extra spaces are not distributed uniformly, as you see here. Instead, there might be 1 or 2 extra "columns" of spaces splitting the terminal, in random positions. But otherwise, the rest of the text looks fine - except for a few columns of whitespace.
This is new info for me, I was not aware of letter-spacing to looks like this. Perhaps something is going wrong here:
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.
Reproduced just now: 3 terminals showing from gpu accel on to off 2 terminals, the last one had the spaced wrong ! Selection is showing wrong: ! Width cache: ! High letter spacing: !
The letter spacing is determined by this line: The width cache gives 0: !
Width cache : !
should fix it
Thank you, Appreciate the investigation and fix.