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

fix clipboard spam when dragging mouse #5995

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

Conversation

unknown
Copy link
Contributor

@unknown unknown commented Feb 26, 2025

Fixes #4800 and succeeds #5010.

As outlined in #5010 (comment), changes mouse events to call terminal.screen.select and only call setSelection at the end of a mouse drag. This ensures that the select_all action still writes the selection to the clipboard.

@pluiedev
Copy link
Member

pluiedev commented Mar 1, 2025

Removing the os/linux tag as I somehow just realized that this is purely a core issue

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.

copy-on-select = clipboard causes "Copied to clipboard" toast spam
2 participants