Skip to content

Add 'c' key shortcut to copy URL in prompts#9371

Open
sarrietav-dev wants to merge 2 commits into
npm:latestfrom
sarrietav-dev:feat/copy
Open

Add 'c' key shortcut to copy URL in prompts#9371
sarrietav-dev wants to merge 2 commits into
npm:latestfrom
sarrietav-dev:feat/copy

Conversation

@sarrietav-dev
Copy link
Copy Markdown

This pull request adds cross-platform clipboard support and enhances the user experience when prompting to open URLs.

Users can now press 'c' to copy a URL to the clipboard if they choose not to open it in a browser, with robust support and fallbacks for macOS, Windows, and Linux environments.

The changes also include comprehensive tests for the new clipboard functionality and update the open URL prompt logic and tests to reflect the new behavior.

These changes provide a more flexible and user-friendly experience for handling URLs, especially in environments where opening a browser may not be possible.

@sarrietav-dev sarrietav-dev requested review from a team as code owners May 19, 2026 20:51
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