microsoft/Terminal

"Remove trailing white-space from rectangular selection" option does not work

Open

#12,237 opened on Jan 24, 2022

View on GitHub
 (10 comments) (0 reactions) (0 assignees)C++ (3,212 forks)batch import
Area-SettingsArea-TerminalControlHelp WantedIssue-BugPriority-2Product-Terminal

Repository metrics

Stars
 (35,764 stars)
PR merge metrics
 (Avg merge 27d 19h) (24 merged PRs in 30d)

Description

Windows Terminal version

1.11.3471.0

Windows build number

10.0.19043.0

Other Software

No response

Steps to reproduce

Ensure that the "Remove trailing white-space from rectangular selection" option is un-checked. Select some text from the terminal window that includes trailing white space, then paste the contents into another application eg notepad. The content pasted in will have its trailing white space trimmed off, contrary to the option setting.

Expected Behavior

When the option is off, trailing white space should not be truncated.

Actual Behavior

Traiing white-space truncation occuring despite the option setting being off.

Just to check that the bug is not simply a negation logic error, I turned it on and repeated the opration, but I found that the content was still be trailing white-space truncated, so it looks like the option is simply ignored.

Contributor guide