How to Turn On or Off Wrap Text Output on Resize of Console Window in Windows

A console (or "terminal) is an application that provides I/O to character-mode applications.

For example: command prompt, PowerShell, or Linux

When you resize a console window window in Windows, the text in the console window will wrap to fit the width by default.

This tutorial will show you how to turn on or off automatically wrap text when resizing a console window (ex: command prompt, PowerShell, Linux) for your account in Windows 7, Windows 8, and Windows 10.

If you turn on or off automatically wrapping text when resizing a console window, it will only be applied to the specific console window shortcut that opened it.

For example, command prompt opened via Win+X menu VS Run (Win+R) dialog. Each location would have its own settings.

If you set to use legacy console, then the Wrap text output on resize feature and setting will be disabled and grayed out.

EXAMPLE: Wrap text output on resize of command prompt turned On and Off
Name:  command_prompt_wrap_text-default.png
Views: 3694
Size:  6.1 KB
Name:  command_prompt_wrap_text-on.png
Views: 3696
Size:  5.5 KB Name:  command_prompt_wrap_text-off.png
Views: 3695
Size:  5.4 KB

Here's How:

1. Open a command prompt, elevated command prompt, PowerShell, elevated PowerShell, or Linux console window you want using the shortcut or location you want to turn on or off wrapping text for.

You could also just directly right click on the console window shortcut or file, click/tap on Properties, and go to step 3 below.

2. Right click or press and hold on the title bar of the console window, and click/tap on Properties. (see screenshot below)

Name:  command_prompt_wrap_text-1.png
Views: 3738
Size:  20.3 KB

3. Click/tap on the Layout tab, check (on - default) or uncheck (off) the Wrap text output on resize box under Screen Buffer Size for what you want, and click/tap on OK to apply. (see screenshot below)

Name:  command_prompt_wrap_text-2.png
Views: 3854
Size:  26.8 KB

4. When finished, you can close the console window if you like.

That's it,

Related Tutorials