Repository: vscode
Issue: Terminal Toggle Size to Content Width can stretch the canvas beyond the max texture size
Labels: bug,upstream,upstream-issue-linked,terminal-rendering


Type: <b>Bug</b>

When I run a build task defined in tasks.json it outputs to the Terminal window. The lines can be quite long so to disable word wrap I do Alt Z. But this also changes the font to something weird which makes the text hard to read.

VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|AMD Ryzen 7 5800H with Radeon Graphics          (16 x 3194)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled|
|Load (avg)|undefined|
|Memory (System)|39.37GB (6.28GB free)|
|Process Argv|--crash-reporter-id 9d132c9a-0b2c-484e-a2a5-cb1dbd299a3b|
|Screen Reader|no|
|VM|0%|

|Item|Value|
|---|---|
|Remote|WSL: Ubuntu|
|OS|Linux x64 5.15.90.1-microsoft-standard-WSL2|
|CPUs|AMD Ryzen 7 5800H with Radeon Graphics (16 x 3193)|
|Memory (System)|19.22GB (15.98GB free)|
|VM|0%|
</details><details><summary>Extensions (26)</summary>

Extension|Author (truncated)|Version
---|---|---
systemd-unit-file|coo|1.0.6
better-cpp-syntax|jef|1.17.2
jupyter-keymap|ms-|1.1.2
remote-wsl|ms-|0.81.0
atlascode|atl|3.0.4
doxdocgen|csc|1.4.0
vscode-markdownlint|Dav|0.51.0
gitlens|eam|14.2.1
shell-format|fox|7.2.5
vscode-github-actions|git|0.26.1
todo-tree|Gru|0.0.226
linuxkerneldev|mic|0.5.6
isort|ms-|2023.10.1
python|ms-|2023.14.0
vscode-pylance|ms-|2023.8.40
cmake-tools|ms-|1.15.31
cpptools|ms-|1.17.4
cpptools-extension-pack|ms-|1.3.0
makefile-tools|ms-|0.7.0
vsliveshare|ms-|1.0.5883
vscode-groovy-lint|Nic|2.0.0
vscode-xml|red|0.26.1
vscode-yaml|red|1.14.0
shellcheck|tim|0.33.1
cmake|twx|0.0.17
clang-format|xav|1.9.0

(2 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30803844
3biah626:30602489
89544117:30613380
showlangstatbar:30737416
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofa:30804715
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
synctok:30815622
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30812749

```

</details>

<!-- generated by issue reporter -->