If I copy the highlighted contents of a listbox I get a tab-delimited string. However I want each selected entry to be on its own line.
nw = new window("test",
lb = list box({"AAAAA", "BBBBB", "CCCCC", "DDDDD"}, width(100),
max selected(-1),
nlines(8)
)
);
If I highlight the last three entries and right-click copy

I get this string:
BBBBB CCCCC DDDDD
What I want is this:
BBBBB
CCCCC
DDDDD
I can create my own "Copy to Clipboard" button that will do the conversion, but is there an easier way?