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

vis-clipboard: don't fail when sel is primary on unsupported platforms #1101

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

rnpnr
Copy link
Collaborator

@rnpnr rnpnr commented May 25, 2023

this is mostly useful for the internal vis usage and makes both * and + buffers registers work on macOS/cygwin.

fixes: #1067

Note: I can't test this and I want others opinions on it. I don't even think the deleted check is correct right now since who is to say what the user meant when they specified --selection on macOS/cygwin.

Edit: I meant registers not buffers

Copy link
Contributor

@mcepl mcepl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I cannot test it either, but I think it shouldn’t do anything wrong, so I have merged this PR to my repo https://git.sr.ht/~mcepl/vis.

this is mostly useful for the internal vis usage and makes both `*` and
`+` registers work on macOS/cygwin.

fixes: martanne#1067
@rnpnr rnpnr merged commit f64a644 into martanne:master Jun 9, 2023
24 checks passed
@rnpnr rnpnr deleted the ignore-nonexistant-sel branch June 13, 2023 15:43
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.

Use system clipboard on MacOS
2 participants