-
Notifications
You must be signed in to change notification settings - Fork 90
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
Figure out cut-n-paste in egui #75
Comments
Paste: Paste works with CTRL-V which is what most people use. Unix/X11 middle-click from the alternate cut-n-paste buffer doesn't work but it is not important since CTRL-V works. Cut: Text selection generally is not implemented in egui, except in a text edit area (afaik). We could dig into that code, but instead I built a clickable CopyButton icon which I can catch the clicked() on and copy whatever into the cut buffer via ui.output(). So that's working, but it requires cut buttons wherever people need them. Maybe good enough. Given the low likelihood of upstream movement on this in the near term I'm going to close this issue. |
Doesn't seem to work for me. Using Sway (Wayland) as my window manager. Any ideas? |
Ah found the relevant log:
|
We all get that "smithay clipboard" bug and yet we can still paste with CTRL-V (and cut by pressing the cut icon). But maybe that bug is relevant under wayland I just don't know, I'm still using X11. |
Thank you for the info! |
I want to cut URLs and KEYs and paste them elsewhere.
The text was updated successfully, but these errors were encountered: