Uh oh!
There was an error while loading. Please reload this page.
fix: Enhance clipboard error handling by propagating errors and checking command exit codes - #7220
fix: Enhance clipboard error handling by propagating errors and checking command exit codes#7220ErvisTusha wants to merge 1 commit into
Conversation
… command exit codes, and providing specific messages when tools are missing.
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found two related PRs that may be duplicate or closely related to PR #7220: Potential Related PRs:
These PRs may have overlapping changes to the clipboard implementation or could be addressing the same underlying issues. I recommend reviewing these PRs to ensure there are no conflicting changes or duplicated efforts. |
ErvisTusha
commented
Jan 7, 2026
fixed for 1.1.6 Linux/Ubuntu |
Overview
This pull request improves clipboard functionality by enhancing error handling across all platforms, with particular focus on Linux systems. The changes ensure that clipboard operations properly propagate errors and provide meaningful feedback to users when issues occur.
Changes
1. Clipboard.ts (util/clipboard.ts)
WAYLAND_DISPLAYenvironment variablewl-copy(Wayland)xclip(X11)xsel(X11)2. App.tsx (ui/app.tsx)
Technical Details
.catch(() => {})(silent failures) to.catch((error) => { ... })(proper error handling)Testing
Related Issues
Closes #[issue-number] (if applicable)
Checklist