Issue Type: Feature Request
For the integrated terminal, please add an option to set a fixed _logical_ width, and a horizontal scroll bar when the terminal window is smaller than the logical width. Related to #46192 (but specific to the integrated terminal).
Seems also likely that this is what #48897 was asking for.
Thanks.
VS Code version: Code 1.34.0 (a622c65b2c713c890fcf4fbf07cf34049d5fe758, 2019-05-15T21:59:37.030Z)
OS version: Windows_NT x64 10.0.16299
@tlemo I'm interested in your use case? Do you just use small windows and/or some program is better on wide?
Hi Daniel,
It's both. Perhaps a bit ironically, but on widescreen monitors it's nice to be able to use the terminal on the side (instead of top/bottom docking), so you end up with relatively narrow terminal windows.
And building from the command line can easily produce lines longer than 100+ columns. Same with some non-build logs. The general case is line-oriented output, where line wrapping can be jarring.
On Thu, May 30, 2019 at 6:54 PM Daniel Imms notifications@github.com
wrote:
@tlemo https://github.com/tlemo I'm interested in your use case? Do you
just use small windows and/or some program is better on wide?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/74501?email_source=notifications&email_token=ADJPEKPBAAPOUWR2JTDTHXTPYCAN3A5CNFSM4HQHVRIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWT7IWQ#issuecomment-497546330,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADJPEKJZZ4TJTOMP6GO6EOTPYCAN3ANCNFSM4HQHVRIA
.
@tlemo I'm interested in your use case? Do you just use small windows and/or some program is better on wide?
@Tyriar, I create PS functions that output other context specific PS commands that are quite long (because of blob paths, connection strings etc.) These then need to be copied and pasted in a single line, so having the original output wrap disrupts this methodology.
@jagdishrajan you're meant to be able to be easily copy wrapped lines by double clicking them, is PS's table formatting preventing that or something? (if so you could try column selection with alt+drag)
Integrated terminal with (1) no line wrapping + (2) horizontal scroll would also be useful to me.
Use case
I'm using the Google Firebase local emulator, and logs are output to the terminal.
Logs may include long strings: urls, ids, tokens, etc. -- also, nested JSON.
I don't need to see all their contents; I just need to be able to see back up the history of logs.
With line wrap, the visual structure is disrupted and it's hard to see what's going on.
I'm on a small laptop, and I have the terminal as a column at the right.
Current workaround
tput rmam command truncates long lines -- but then you can't see what's to the right, if you need it.
I often print in the Terminal the contents of a pandas DataFrame. Wrapping the output makes the dataframe totally unreadable. And using tput rmam is out of options for me. I need to see all the data. What we need is a setting do disable wrapping and a horizontal scroll.
@Tyriar, terminal output can be used for many purposes such as reviewing results, copying portions of results or "other commands as results" and re-pasting them. As @tony-bony said columnar output that's aligned is difficult to review when wrapped.
It's also important to select and copy multiple lines and vertical selection of results. When selecting these results switching to the mouse rather continuing to use the keyboard is inconvenient. (Vscode editor has works well with its Ctrl+Alt+Shift+arrow shortcut for this).
My requirement is also similar to what @tony-bony has suggested above.
VScode should allow to at least use the full width of the screen when Terminal docked at the bottom. It's not happening right now.
Any workaround or timeline for this fix of terminal width?
This would also be great for vs live sessions, most of the time the shared terminal ends up being 40x10 or something terrible like that.
Yes, this is super annoying to brake the line even though it has a huge space to go. I have a 22-inch monitor and you can see that how many spaces on the right-hand side. I don't know why you cannot give to adjust this width to the user?

I would like to see a button which toggles wrap on/off entirely.
When one is scrolling and skimming the terminal output, no wrap is nicer.
When one needs to see the output of a particular line, wrap becomes necessary.
A button or even just a keyboard shortcut to toggle line wraps in the integrated terminal on/off would be a nice feature.
Yes, this is super annoying to brake the line even though it has a huge space to go. I have a 22-inch monitor and you can see that how many spaces on the right-hand side. I don't know why you cannot give to adjust this width to the user?
just out of curiosity how do you get that? for me it does not go in the next line it goes back to the beginning and starts overwriting what I have there, incredibly annoying.
it just seems that you managed to make it wrap into a new line but mine just wraps on top

I really would like to not have any wrap at all.
Most helpful comment
I would like to see a button which toggles wrap on/off entirely.
When one is scrolling and skimming the terminal output, no wrap is nicer.
When one needs to see the output of a particular line, wrap becomes necessary.
A button or even just a keyboard shortcut to toggle line wraps in the integrated terminal on/off would be a nice feature.