notbenh / next.notbenh.info

I build a silly terminal as my webpage thinggie
1 stars 0 forks source link

Unable to paste a URL into the command line #38

Open vmbrasseur opened 10 years ago

vmbrasseur commented 10 years ago

I was going to use the repeater, so I grabbed an image URL, hit http://notbenh.info, typed 'repeat', then tried to paste the URL into the command line.

Nothing happened. I tried with a different piece of text. Same result.

It appears I'm unable to paste into the notbenh.info command line.

I'm using Chrome, v28.0.1500.95, on OS X.

notbenh commented 10 years ago

Sorry about that, yup that's a problem! Just confirmed chrome on linux seems that system pasteboard (middle click) is ignored, but if I CTRL-C from another tab in Chrome then I can CTRL-V in to notbenh.info.

Attempted to test in FireFox and dwb but neither the system pasteboard nor CTRL-V trick from above works.

If I was to guess this is an issue with js capturing the paste method (fail). Will need further research.

notbenh commented 10 years ago

I've poked at this enough that it looks like it's down to how the terminal plugin works, I'm thinking of shifting gears entirely and going back to the virtual text box idea where it takes up the whole page. It will obstruct the way that adventure time would work but it should get me out of trying to fit everything in to the expectations of the terminal plugin wich will be nice but will require me writing more code. Possible project for @pdxhackathon.