Change:
<!-- 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/No <!-- 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.70 OS Version: Browser (Firefox, maybe Chrome) Steps to Reproduce: Not sure. Reported originally in Gitpod:
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.2. Please try upgrading to the latest version and checking whether this issue remains. Happy Coding!
I fully expect the bug to be present upstream (I saw it in gitpod), but I can't open a terminal on to check if the bug is present there. I would be happy to open up a codespace to see if the issue is present in VSCode web, but I'm not going to pay for Github teams just to file a bug report. Note that I am using Google Chrome Version 104.0.5112.101 (Official Build) (64-bit) on Ubuntu (without any browser extensions active), so this issue isn't just on firefox.
I've never seen this issue - have you ?
I haven't seen this either, I'm guessing it's on gitpod's end because you have received 3 reports and we haven't had any.
Reported at so reopening. From that issue: Underscore is handled a little specially as we shift it up when the font would normally render it beyond a cell's bounds to ensure it shows up even on the bottom row. I'm guessing there is some conflict (Firefox only?) with this underscore shifting and the clear color mechanism of the webgl renderer.
In case it helps, I cannot reproduce on Firefox on macOS but I can on Linux.
also good to know, thanks. If you have time it would also be good to know if it happens in the VS Code desktop app (electron/chromium) or chrome/chromium on Linux.
I'm using macOS at the moment but I asked a couple of colleagues to test. Both Firefox 100.0.2 (64-bit) and Chrome 103.0.5060.53 (Official Build) (64-bit) are affected. The VSCode desktop app is not affected. This happens both on Fedora 34 using X11 and KDE, and Ubuntu 20.04 with a standard GNOME desktop. Disabling acceleration in Firefox (i.e. setting to ) doesn't help. Turning off or setting it to canvas fixes the issue. This is on Lenovo laptops with Intel graphics. reports this on the Fedora machine: And this on the Ubuntu one: This is a snippet from 's output: Hope this helps!
My colleague did some more experimenting and found out that underscores have problems in the desktop application. They disappear if acceleration is turned off. Not sure if it's the same problem or not but hopefully this is helpful. See in this screenshot: ! And how it appears as in this one: ! If you think it's not related I'm happy to report a separate bug.
I can reproduce this when running vscode in a devcontainer ! When using DOM renderer, the underscore characters completely disappears. ! Canvas renderer works fine: ! The font used here is DejaVu Sans Mono version 2.37, however when I pulled it out of the devcontainer and installed it on my Windows machine, it has no issues ! Except the appearance is a little different from Canvas renderer, where the underscore characters are connected. ! and DOM renderer, where characters are a little bit wider. !
! It is font related. The devcontainer also has Cascadia Mono which works fine.
what's the problem font?
It's called "DejaVu Sans Mono" version 2.37
I think I can confirm the conclusion reached by When using the desktop app in Ubuntu 22.04, the font presents the same behavior. Using other fonts the underscore is rendered correctly.
Font from is
Weird: ! The no underscore when GPU acceleration is off is tracked in A better workaround is to use a different font, such as Fira Code, Hack, Iosevka, etc.
This affects webgl only.
Found the issue. This clearRect ends up drawing a FF background instead of the natural color, so the full temp canvas texture is used which explains the odd size of the rectangle.
<!-- AUTHORVERIFICATIONREQUEST --This bug has been fixed in the latest release of ! you can help us out by commenting if things are now working as expected. If things still don't seem right, please ensure you're on version of Insiders (today's or later - you can use in the command palette to check), and leave a comment letting us know what isn't working as expected. Happy Coding!
I was seeing this earlier in the week doing TPIs on Linux... but now I don't today so seems fixed.
After all, what's the solution to the black box produced by the underscore character?
The last update resolved this issue.

Discussion:
"elliptic": "^6.5.3", "nwmatcher": "^1.4.4" } <del> } </del>  No newline at end of file <ins> } </ins>

"vscode-proxy-agent": "^0.12.0", "vscode-regexpp": "^3.1.0", "vscode-textmate": "7.0.1", <del> "xterm": "5.0.0-beta.35", </del> <ins> "xterm": "5.0.0-beta.36", </ins> "xterm-addon-canvas": "0.2.0-beta.17", "xterm-addon-search": "0.10.0-beta.5", "xterm-addon-serialize": "0.8.0-beta.5", "xterm-addon-unicode11": "0.4.0-beta.5", <del> "xterm-addon-webgl": "0.13.0-beta.36", </del> <ins> "xterm-addon-webgl": "0.13.0-beta.37", </ins> "xterm-headless": "5.0.0-beta.5", "yauzl": "^2.9.2", "yazl": "^2.4.3"

"tas-client-umd": "0.1.6", "vscode-oniguruma": "1.6.1", "vscode-textmate": "7.0.1", <del> "xterm": "5.0.0-beta.35", </del> <ins> "xterm": "5.0.0-beta.36", </ins> "xterm-addon-canvas": "0.2.0-beta.17", "xterm-addon-search": "0.10.0-beta.5", "xterm-addon-unicode11": "0.4.0-beta.5", <del> "xterm-addon-webgl": "0.13.0-beta.36" </del> <ins> "xterm-addon-webgl": "0.13.0-beta.37" </ins> } }

resolved "https://registry.yarnpkg.com/xterm-addon-unicode11/-/xterm-addon-unicode11-0.4.0-beta.5.tgz#3900e66f10d2e506133b61d7421aab6878d32665" integrity sha512-+g+fuxAd/tkCEJ/jhdnebXKtdPrhsu4VKWNnB/3qM35GbuGQOasmYFYnKL+HYZMpbQ6YqeZcXTVg/wnCTttz0g== <del> xterm-addon-webgl@0.13.0-beta.36: version "0.13.0-beta.36" resolved "https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.13.0-beta.36.tgz#94c0f05a1be7fd027e7d5367a623969a656fb97a" integrity sha512-HG86+KCYHNf7Pi9/ksRU9LLrMcfex1e2D6rU1NCK/p2hEiQqTALX2QnLf7BoO0Yl97671GllZvVSZvhA7/bwrA== xterm@5.0.0-beta.35: version "5.0.0-beta.35" resolved "https://registry.yarnpkg.com/xterm/-/xterm-5.0.0-beta.35.tgz#3bbf5780c98aaaa6476e7590dff1d8f5014fce9d" integrity sha512-tzJTel1E/FmB0VQDb44xApVB+ln+BifIbHD4V9x9Z3D9m1cMmPHy8J8efdILkn1TxXGlCl7VC35nG122Qq5exw== </del> <ins> xterm-addon-webgl@0.13.0-beta.37: version "0.13.0-beta.37" resolved "https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.13.0-beta.37.tgz#46819028abbe66cfabc60a615c4cc7bcd9156305" integrity sha512-XoJdN8CELScYLPnEJKo9s0r3tC9/szGnmBEymV1+oLbMrQNeaV5VQqbiYzgKTyDHc12Gc5lPvih3/r6eL/9gig== xterm@5.0.0-beta.36: version "5.0.0-beta.36" resolved "https://registry.yarnpkg.com/xterm/-/xterm-5.0.0-beta.36.tgz#c07721d04fddc0f86417bc95a2f0824040c0eca9" integrity sha512-6aND1UOAcCn42WlVrQbIU7a+ZFD4o3Gy2yE1BeDLTCFfK6oqc1QpRrH1plGOUypeabxCTADrw5vhl5W/45kutg== </ins>

resolved "https://registry.yarnpkg.com/xterm-addon-unicode11/-/xterm-addon-unicode11-0.4.0-beta.5.tgz#3900e66f10d2e506133b61d7421aab6878d32665" integrity sha512-+g+fuxAd/tkCEJ/jhdnebXKtdPrhsu4VKWNnB/3qM35GbuGQOasmYFYnKL+HYZMpbQ6YqeZcXTVg/wnCTttz0g== <del> xterm-addon-webgl@0.13.0-beta.36: version "0.13.0-beta.36" resolved "https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.13.0-beta.36.tgz#94c0f05a1be7fd027e7d5367a623969a656fb97a" integrity sha512-HG86+KCYHNf7Pi9/ksRU9LLrMcfex1e2D6rU1NCK/p2hEiQqTALX2QnLf7BoO0Yl97671GllZvVSZvhA7/bwrA== </del> <ins> xterm-addon-webgl@0.13.0-beta.37: version "0.13.0-beta.37" resolved "https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.13.0-beta.37.tgz#46819028abbe66cfabc60a615c4cc7bcd9156305" integrity sha512-XoJdN8CELScYLPnEJKo9s0r3tC9/szGnmBEymV1+oLbMrQNeaV5VQqbiYzgKTyDHc12Gc5lPvih3/r6eL/9gig== </ins> xterm-headless@5.0.0-beta.5: version "5.0.0-beta.5" resolved "https://registry.yarnpkg.com/xterm-headless/-/xterm-headless-5.0.0-beta.5.tgz#e29b6c5081f31f887122b7263ba996b0c46b3c22" integrity sha512-CMQ1+prBNF92oBMeZzc2rfTcmOaCGfwwSaoPYNTjyziZT6mZsEg7amajYkb0YAnqJ29MFm4kPGZbU78/dX4k2A== <del> xterm@5.0.0-beta.35: version "5.0.0-beta.35" resolved "https://registry.yarnpkg.com/xterm/-/xterm-5.0.0-beta.35.tgz#3bbf5780c98aaaa6476e7590dff1d8f5014fce9d" integrity sha512-tzJTel1E/FmB0VQDb44xApVB+ln+BifIbHD4V9x9Z3D9m1cMmPHy8J8efdILkn1TxXGlCl7VC35nG122Qq5exw== </del> <ins> xterm@5.0.0-beta.36: version "5.0.0-beta.36" resolved "https://registry.yarnpkg.com/xterm/-/xterm-5.0.0-beta.36.tgz#c07721d04fddc0f86417bc95a2f0824040c0eca9" integrity sha512-6aND1UOAcCn42WlVrQbIU7a+ZFD4o3Gy2yE1BeDLTCFfK6oqc1QpRrH1plGOUypeabxCTADrw5vhl5W/45kutg== </ins> yallist@^4.0.0: version "4.0.0"

resolved "https://registry.yarnpkg.com/xterm-addon-unicode11/-/xterm-addon-unicode11-0.4.0-beta.5.tgz#3900e66f10d2e506133b61d7421aab6878d32665" integrity sha512-+g+fuxAd/tkCEJ/jhdnebXKtdPrhsu4VKWNnB/3qM35GbuGQOasmYFYnKL+HYZMpbQ6YqeZcXTVg/wnCTttz0g== <del> xterm-addon-webgl@0.13.0-beta.36: version "0.13.0-beta.36" resolved "https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.13.0-beta.36.tgz#94c0f05a1be7fd027e7d5367a623969a656fb97a" integrity sha512-HG86+KCYHNf7Pi9/ksRU9LLrMcfex1e2D6rU1NCK/p2hEiQqTALX2QnLf7BoO0Yl97671GllZvVSZvhA7/bwrA== </del> <ins> xterm-addon-webgl@0.13.0-beta.37: version "0.13.0-beta.37" resolved "https://registry.yarnpkg.com/xterm-addon-webgl/-/xterm-addon-webgl-0.13.0-beta.37.tgz#46819028abbe66cfabc60a615c4cc7bcd9156305" integrity sha512-XoJdN8CELScYLPnEJKo9s0r3tC9/szGnmBEymV1+oLbMrQNeaV5VQqbiYzgKTyDHc12Gc5lPvih3/r6eL/9gig== </ins> xterm-headless@5.0.0-beta.5: version "5.0.0-beta.5" resolved "https://registry.yarnpkg.com/xterm-headless/-/xterm-headless-5.0.0-beta.5.tgz#e29b6c5081f31f887122b7263ba996b0c46b3c22" integrity sha512-CMQ1+prBNF92oBMeZzc2rfTcmOaCGfwwSaoPYNTjyziZT6mZsEg7amajYkb0YAnqJ29MFm4kPGZbU78/dX4k2A== <del> xterm@5.0.0-beta.35: version "5.0.0-beta.35" resolved "https://registry.yarnpkg.com/xterm/-/xterm-5.0.0-beta.35.tgz#3bbf5780c98aaaa6476e7590dff1d8f5014fce9d" integrity sha512-tzJTel1E/FmB0VQDb44xApVB+ln+BifIbHD4V9x9Z3D9m1cMmPHy8J8efdILkn1TxXGlCl7VC35nG122Qq5exw== </del> <ins> xterm@5.0.0-beta.36: version "5.0.0-beta.36" resolved "https://registry.yarnpkg.com/xterm/-/xterm-5.0.0-beta.36.tgz#c07721d04fddc0f86417bc95a2f0824040c0eca9" integrity sha512-6aND1UOAcCn42WlVrQbIU7a+ZFD4o3Gy2yE1BeDLTCFfK6oqc1QpRrH1plGOUypeabxCTADrw5vhl5W/45kutg== </ins> y18n@^3.2.1: version "3.2.2"