Not able to get creds in the clipboard #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hey Kosh team
🚀
Hi @Ayush2832 ,
Thanks for bringing up the issue!
After investigating, it seems the clipboard functionality issue is caused by the golang-design/clipboard
library, which doesn’t currently support Wayland compositors. The maintainers have marked this as a platform-specific limitation, so it’s uncertain whether they will merge a fix. Another contributor proposed a similar solution in the past, but it hasn’t been integrated yet.
To address this, I'll be adding explicit Wayland handling within my project as a temporary workaround. Additionally, I plan to raise a PR with the golang-design/clipboard project to see if they might reconsider, though I can't guarantee it will be accepted given the platform-specific nature of the issue.
Regarding the idea of printing the password as text, I’m hesitant to expose the secret in the terminal buffer for security reasons. For now, I won’t be adding that feature, but it’s something I may revisit in the future, potentially with a more secure approach.
Thanks again for your feedback! I’ll keep you updated on any progress.
HI @kashish

The code on the branch
patch/clipboard_on_waylandis working fine, and I can get the password on the clipboard. I have attached the screenshot of the result🚀
Thank you @Ayush2832, for verifying the changes.