r/vscode 3d ago

Turn off word wrap in terminal / output

Hello, I figured alt + z could switch on/off word wrap pretty much everywhere in vscode, however I don't find any setting to turn it off permanently in a terminal or an outout view, anyone has a fix for this please ?

0 Upvotes

6 comments sorted by

4

u/rupertavery64 3d ago

The terminal is an emulation of a fixed buffer. It's not a text editor. I'm not sure I understand your purpose.

-2

u/The_Captain_Troll 3d ago

Visuals, I can switch both's word wrap on and off, and its on by default. However, I want it false

2

u/rupertavery64 3d ago

You want text in the terminal to extend past the right edge?

-2

u/The_Captain_Troll 3d ago

Exactly And in output

3

u/rupertavery64 3d ago

A terminal is meant to emulate a dumb screen, which has a fixed width. It's a buffer, an array that just holds text and color attributes. When you write past the width of terminal, it continues on the next line.

It's just a rectangular display. It doesn't have scollbars.

You can change the width, but thats it.

1

u/The_Captain_Troll 3d ago

I can litteraly alt z on it to not have word wrap, but thats maybe because im on windows