jgillich / faststack

Linux workspaces
https://termbox.io
MIT License
164 stars 16 forks source link

Paste does not work in Firefox #18

Closed abhineet97 closed 7 years ago

abhineet97 commented 7 years ago

The shortcut for pasting text to the terminal, Ctrl + Shift + v (as specified here), does not seem to work for me.

My Browser: Firefox 50.0.2

jgillich commented 7 years ago

Firefox support in hterm isn't very good unfortunately.

jgillich commented 7 years ago

I've looked into this, the issue is that document.execCommand('paste') doesn't work in a browser environment, and hterm's workaround of focusing a textbox on Ctrl+Shift+V doesn't work in Firefox either.

Probably working as intended from a Firefox perspective, I doubt there's much we can do about it. Still going to leave it open, the user experience needs to be improved.