Textualize / textual-serve

Serve Textual apps locally
MIT License
189 stars 8 forks source link

Add "copy to clipboard" support #12

Open Natanel-Shitrit opened 4 months ago

Natanel-Shitrit commented 4 months ago

Textual App class method copy_to_clipboard was added in version 0.57.0.

Currently using this method with the web interface does not copy the text to the clipboard.

It's possible to add this feature by adding the xterm.js addon-clipboard module.

Since all the sources were packed with Webpack It's not possible for anyone to add any other modules they might want - may I also request publishing the files and instructions for building the textual.js file?

Thank you!

alexjbest commented 2 months ago

@willmcgugan, any thoughts on this? I'd really like this feature too and it sounds like it would be straightforward to add with the right instructions available for rebuilding the static files.

willmcgugan commented 2 months ago

Yes, we can add that. And we will open source the JS as well.

s-jacob-powell commented 1 month ago

I would love this, how can I help/get started contributing to Textualize?

Natanel-Shitrit commented 2 weeks ago

Yes, we can add that. And we will open source the JS as well.

@willmcgugan Any updates? Would love to help make this happen if you need help with anything 🙂

willmcgugan commented 2 weeks ago

It's on the roadmap. But we are quite busy. May be a few weeks yet...

If you need it for something commercial, you could sponsor the work.