Floobits / atom-term3

Open Terminal tabs in Atom. Fork of Term package
Other
88 stars 17 forks source link

Not able to use copy/paste on OS X #85

Open GreggJensen opened 7 years ago

GreggJensen commented 7 years ago

Using the package term3 and trying to paste something from outside atom (say copied from a browser) does not paste. In fact, while running bash with key editing set to vi (i.e., set -o vi) and do a paste it will open a command line vi temporary editing session with nothing in it. In general, it doesn't look like it gets anything from the clipboard. Now, if I highlight something in the terminal session and hit ctrl-c it will paste it with ctrl-v, but that doesn't work with something from the clipboard. Running OS X, cmd-v does work just fine in the editor window so I was trying to see if I could change the action of the key bind to use the action that gets called, core:paste I believe. But that didn't work either. Does ctrl-v or hopefully cmd-v supposed to paste text that has been copied outside of atom?

alph486 commented 7 years ago

I can confirm this as well. Atom v1.17.2 x64 term3 v0.22.1. Reproduced while trying to copy paste a command from Chrome to term3 pane using Cmd+v on OSX.

alph486 commented 7 years ago

Update: after a second look, I think the bug is visual. It looks like if I paste and hit enter it runs. It is actually putting the buffer into the terminal, but its not showing it correctly. @GreggJensen can you confirm this works?

GreggJensen commented 7 years ago

Sorry, I am not using Atom any more and don't have that configuration available for me to try it out.

alph486 commented 7 years ago

@GreggJensen Okay i see. Can you reopen though? Still an issue for me. Thanks!

trusktr commented 5 years ago

I am also unable to copy/paste in macOS (haven't tried any other OS though).

When I select text in the terminal, then press cmd-c to copy the selection, it seems to behave the same as if I pressed ctrl-t which triggers my fzf fuzzy file completion (configured to run on ctrl-t).

trusktr commented 5 years ago

As a workaround, I run NeoVim inside the terminal, then all regular Vim normal mode shortcuts work in TERMINAL mode (f.e. yy to yank the line, p to paste it, etc).

trusktr commented 5 years ago

Possibly related: After opening multiple term3 tabs, after a while, I am unable to focus keyboard in the terminal properly. I have to click multiple times until finally it might work.