term.js icon indicating copy to clipboard operation
term.js copied to clipboard

Removing traling spaces from end of lines.

Open amshali opened this issue 9 years ago • 2 comments

This is useful because when one is copying lines from term.js all those   characters are also copied and what you will see when you paste is a bunch of useless spaces which are usually undesired. This patch fixes this issue by removing traling spaces when we are constructing the lines. There is a caveat for empty lines. We need to leave at least one space there or otherwise the output will lose lines.

amshali avatar Aug 27 '15 19:08 amshali

@chjj Could you please take a look at this? Thanks a bunch.

amshali avatar Sep 09 '15 16:09 amshali

@chjj That would be great if you could look at this. Thanks.

amshali avatar Sep 13 '15 16:09 amshali