How to Enable or Disable Line Wrapping Selection in Console Window in Windows 10


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

For example: command prompt, PowerShell, or Linux

When you select and copy lines of text in a console, it will include wrapping lines instead of being rectangular by default.

This tutorial will show you how to enable or disable line wrapping selection in a console window (ex: command prompt, PowerShell, Linux) for your account in Windows 10.

When you enable or disable line wrapping selection for 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.



EXAMPLE: Line wrapping selection enabled and disabled in a console window
Enable or Disable Line Wrapping Selection in Console in Windows 10-console_window_line_wrapping_selection-enabled.png Enable or Disable Line Wrapping Selection in Console in Windows 10-console_window_line_wrapping_selection-disabled.png



Here's How:

1. Open a command prompt, elevated command prompt, PowerShell, elevated PowerShell, or Linux console window you want to enable or disable line wrapping selection 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)

Enable or Disable Line Wrapping Selection in Console in Windows 10-console_window_line_wrapping_selection-1.png

3. Click/tap on the Options tab, check (enable - default) or uncheck (disable) Enable line wrapping selection for what you want under the Text Selection settings, and click/tap on OK to apply. (see screenshot below)

Enable or Disable Line Wrapping Selection in Console in Windows 10-console_window_line_wrapping_selection-2.png

4. You can now close the console window if you like.


That's it,
Shawn