Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing traling spaces from end of lines. #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amshali
Copy link
Contributor

@amshali amshali commented Aug 27, 2015

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.

…n 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
Copy link
Contributor Author

amshali commented Sep 9, 2015

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

@amshali
Copy link
Contributor Author

amshali commented Sep 13, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants