romgrk / termrk

Terminal for atom, using pty.js & term.js
MIT License
33 stars 7 forks source link

Sending selection to terminal does not respect line breaks #44

Closed mjrodgers closed 9 years ago

mjrodgers commented 9 years ago

I am using termrk to program in an interpreted language (Magma for computer algebra). However, the line continuation leads to problems with comments. For example, I can put in a full-line comment using // at the beginning of the line. But when the line is sent to terminal with a continuation at the end, this makes ALL the following lines a comment.

Example, my code: // This is a comment eval_this_code;

But termrk sees: // This is a comment\ eval_this_code;

And interprets both lines as comments...

romgrk commented 9 years ago

Ok, send-selection is having some problems lately, this is next in my TODO list.

mjrodgers commented 9 years ago

Thumbs up, thanks for the update!

On Aug 17, 2015, at 5:58 PM, romgrk notifications@github.com wrote:

Ok, send-selection is having some problems lately, this is next in my TODO list.

— Reply to this email directly or view it on GitHub https://github.com/romgrk/termrk/issues/44#issuecomment-131872572.

romgrk commented 9 years ago

Fixed by 90b7d8ee2760876ce9293a66baffdc31992c95f5, I have tested it on my side, let me know if it happens again.