InÂ Windows Terminal Preview, you can turn on or offÂ Remove trailing white-space in rectangular selection. When turned on and you copy text in a rectangular (block) selection to the clipboard, trailing white-spaces are removed from each line. When turned off, the white-spaces are preserved, ensuring that all lines have the same length.
To copy text in a rectangular (block) selection, hold down theÂ AltÂ key, right-click, and drag your mouse over the text area you want to select. This can be useful for selecting text columns, etc.
This tutorial will show you how to enable or disable remove trailing white-space in rectangular selection inÂ Windows TerminalÂ for your account inÂ Windows 10.