Skip to content

Fix clipboard decode-error when using command /paste #3963

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

Closed
wants to merge 1 commit into from

Conversation

KennyDizi
Copy link
Contributor

@KennyDizi KennyDizi commented May 6, 2025

PR Type

Bug fix


PR Description

  • Fixed clipboard decode errors by adding safe paste handling.

    • Added _safe_paste method to handle UnicodeDecodeError.
    • Falls back to xclip on Linux when standard paste fails.
  • Improved clipboard watching reliability with error handling.

@KennyDizi
Copy link
Contributor Author

🌖 🎆 The PR description has been updated to align with the latest commit (2ef2658).

@KennyDizi
Copy link
Contributor Author

Issue example
CleanShot 2025-05-06 at 13 10 32

@KennyDizi KennyDizi closed this by deleting the head repository May 22, 2025
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

Successfully merging this pull request may close these issues.

1 participant