Enable word wrapping like in original cmd.exe shell #9246

Closed
opened 2026-01-31 01:49:35 +00:00 by claunia · 3 comments
Owner

Originally created by @CarlosOnline on GitHub (Jun 24, 2020).

Original cmd shell provides screen buffer size / window size settings that allow long lines to stay on a single view line instead of wrapping to next line.

Please add the same functionality.

image

Originally created by @CarlosOnline on GitHub (Jun 24, 2020). Original cmd shell provides screen buffer size / window size settings that allow long lines to stay on a single view line instead of wrapping to next line. Please add the same functionality. ![image](https://user-images.githubusercontent.com/3691895/85621940-f429b380-b61a-11ea-999f-7f7baf3e11a4.png)
claunia added the Needs-TriageNeeds-Tag-FixResolution-Won't-Fix labels 2026-01-31 01:49:35 +00:00
Author
Owner

@DHowett commented on GitHub (Jun 24, 2020):

We are not adding an option to disable line wrapping. Sorry.

@DHowett commented on GitHub (Jun 24, 2020): We are not adding an option to _disable_ line wrapping. Sorry.
Author
Owner

@CarlosOnline commented on GitHub (Jun 24, 2020):

I am not using your product.

@CarlosOnline commented on GitHub (Jun 24, 2020): I am not using your product.
Author
Owner

@zadjii-msft commented on GitHub (Jun 24, 2020):

For the record, this is explained in greater detail in https://github.com/microsoft/terminal/issues/1860#issuecomment-509311231. Having rows of text that are longer than the width of the viewport is something that' pretty fundamentally incompatible with traditional terminal emulation. Conhost had far too many bugs related to non-wrapped lines not working with VT sequences, and we're not about to hop back in to that pit of snakes.

If non-wrapped lines are something that you really want, there are commandline tools that you might be able to use to achieve the same effect. I believe that less allows you to pipe text to it, and view it "unwrapped".

@zadjii-msft commented on GitHub (Jun 24, 2020): For the record, this is explained in greater detail in https://github.com/microsoft/terminal/issues/1860#issuecomment-509311231. Having rows of text that are longer than the width of the viewport is something that' pretty fundamentally incompatible with traditional terminal emulation. Conhost had far too many bugs related to non-wrapped lines not working with VT sequences, and we're not about to hop back in to that pit of snakes. If non-wrapped lines are something that you _really_ want, there are commandline tools that you might be able to use to achieve the same effect. I believe that `less` allows you to pipe text to it, and view it "unwrapped".
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9246