(Update: This issue is present since at least version 7.57a - the oldest version i have tested. I would not be surprised if there is already a report about this issue somewhere in the forum, unfortunately i wasn't able to find one using both the forum search and Google - with the site: operator - using various combinations of different search terms

When a text selection in Lister ends with a Unix-style line break ("\n"), Lister ignores this "\n" at the end of the selction or converts it into a space character (0x20).
This only happens to a Unix-style line-break at the very end of the selection. Any other Unix-style line breaks within the selection do not suffer from this issue. (Windows-style line breaks "\r\n" are unaffected by this issue.)
How to reproduce:
- Start up TC with a fresh (or without) wincmd.ini.
- Display a text file with Unix-style line breaks (using single \n as line-breaks).
- Select two or more text lines. Make sure that the selection ends with the Unix-style line break of the last selected line.
- Ctrl+C.
- Use a Clipboard monitor, some text editor, or write your own program/script to inspect the original clipboard content.
Expected result:
Selected text will be copied as-is to the clipboard, including the last Unix-style line break at the end of the selection.
Observed results:
- When Lister is in "Text Only" view mode: Lister converts the last Unix-style line break at the end of the selection into a space character (0x20). Any other Unix-style line breaks within the selection remain as-is.
- When Lister is in "UTF-8" view mode: Lister simply discards the last Unix-style line break at the end of the selection when copying the selection to the clipboard. Any other Unix-style line breaks within the selection remain as-is.
- When Lister is in "Unicode" view mode: (showing a Unicode-encoded text file with Unix-style line breaks) Like "UTF-8" view mode, Lister simply discards the last Unix-style line break at the end of the selection when copying the selection to the clipboard. Any other Unix-style line breaks within the selection remain as-is.