-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Copying terminal output copies all trailing whitespace #66
Comments
Thanks for reporting. Will take a look into how could we avoid that. Most probably it will be a hook on the |
What are your thoughts on pulling in an npm dependency so that xterm.js is no longer self contained? Specifically clipboard.js as copying to clipboard seems especially tricky in a browser scenario. |
- Do not actually cut on cut - Strip trailing whitespaces on copy (fix #66)
I was doing essentially the same thing only |
I tried across multiple browsers and this seemed to work everywhere. Support across older browsers is not a priority for this library though at the moment, thus let's keep this simple until another issue comes up with this. |
Copying this:
Pasted result:
The text was updated successfully, but these errors were encountered: