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

chore: don't panic if clipboard cannot be accessed #2648

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dhth
Copy link
Contributor

@dhth dhth commented Mar 25, 2025

Fixes #1707.

Summary

atuin doesn't panic if the system clipboard cannot be accessed for any reason.

Questions

  • Do we also want to stop panicking if setting text to the clipboard fails?
  • Do we also want to stop panicking if the follow up check to see if the value was set fails?
  • Should we add an error message to the TUI if any of the steps involved fail?

Checks

  • I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle
  • I have checked that there are no existing pull requests for the same thing

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.

Panic when copying on a system not running X
1 participant