Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "copy to clipboard" support #12

Open
Natanel-Shitrit opened this issue Jul 22, 2024 · 5 comments
Open

Add "copy to clipboard" support #12

Natanel-Shitrit opened this issue Jul 22, 2024 · 5 comments

Comments

@Natanel-Shitrit
Copy link

Natanel-Shitrit commented Jul 22, 2024

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
Copy link

@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
Copy link
Contributor

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

@s-jacob-powell
Copy link

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

@Natanel-Shitrit
Copy link
Author

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants