-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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 Multi Line from Terminal Inserts Line Breaks #2256
Comments
Can you describe a bit more the results and what you expected? Thanks. |
I run:
And I get (notice the line breaks when I copy out of the terminal):
|
I think that's not unusual for terminal emulators, although modern ones (including Gnome terminal, which I use) preserve it without the linebreaks. If you want to chase it up, the terminal component we use is xterm.js, so that's where it would need to be changed. See maybe xtermjs/xterm.js#404. |
I think this is the upstream issue: xtermjs/xterm.js#443. |
This has now been fixed in: xtermjs/xterm.js#693 |
Thanks @cancan101 . We should remember to update our version of xterm when there's a release with that fix. |
Okay, 2.8.0 has been released with the fix: https://github.com/sourcelair/xterm.js/releases/tag/2.8.0 |
When I copy text from a jupyter notebook terminal session that spans multiple lines, line breaks are inserted.
The text was updated successfully, but these errors were encountered: