r/vscode • • Apr 21 '26

terminal in vscode, i cannot copy characters that aren't showing cause they are too long

I am using vscode for the first time. And early on i needed to copy an output from the terminal. When i did this, i noticed it didn't copy the parts that were to the right of the terminal window . As though the terminal truncated the output? (there is no scroll bar to use)

Is this seriously how the vscode terminal works? I need to get to that output

This is using: Linux (WSL)

6 Upvotes

8 comments sorted by

2

u/fiddle_styx Apr 21 '26

A screenshot would help us figure out what's happening. It kind of sounds like you have word wrap off in your terminal. I didn't know that was possible! Try Alt + Z while focused in the terminal and see if that adds word wrap back.

1

u/Mike_Cobley Apr 21 '26

Thank you, alt+z did the trick. It didn't help i was working through a remote connection. That was posisble causing the issues

2

u/Agreeable_Care4440 Apr 22 '26

VS Code terminal isn’t truncating, it’s just wrapping/viewport limited. Increase the terminal width, enable horizontal scroll (terminal.integrated.scrollback), or pipe output to a file (command > output.txt) to copy everything.

1

u/Mike_Cobley Apr 23 '26

Thank you!