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

Already on GitHub? Sign in to your account

Copy and paste - OSX lion #22

Open
jmarizgit opened this Issue May 4, 2012 · 6 comments

Comments

Projects
None yet
5 participants

Will be nice to be able to copy and past on the "command line".

I tried right click and select paste and works

I am using Mac OSX Lion

Thanks

Owner

chjj commented May 4, 2012

Which browser? right-click+paste should work on chrome.

You're right, I just made this test an hour ago.

will be hand to put the combination CRTL / CMD + C / V on the application.
I want to use it to programing on the browser with VIM, and use the mouse to paste code is not so productive.

Thanks, great app by the way.

I wrote a simple chrome extension for it on my repository.

fjakobs commented Sep 20, 2012

Pasting text into the terminal using Cmd-V is very unreliable. For me it works in Chrome most of the time but fails in FF and Safari. In ajaxorg/ace we use a hidden textarea to capture paste events. Would you accept a patch doing the same for tty.js?

@fjakobs I'd love to get copy/paste working well in tty.js. Is this something you're still interested in? I see that you've figured out copy/paste in ajaxorg/ace - how applicable do you think that technique is for tty.js?

JaniL commented Jun 6, 2013

I looked up textinput.js from ace and it looks like it could work.

I tried recreating it with Chrome's developer bar by just adding a textarea to div.terminal. All the text I paste there go to terminal as term.js already listens paste events.

fjakobs commented Jun 6, 2013

@mmcgrana I'd love to but I'm quite busy at the moment and don't know when I'd find time for that. So I better don't promise anything. If someone else would step in that would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment