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

console.lua: complete clipboard/text #15569

Merged
merged 1 commit into from
Dec 28, 2024

Conversation

guidocella
Copy link
Contributor

No description provided.

Copy link

Download the artifacts for this pull request:

Windows
macOS

@@ -1180,6 +1180,8 @@ local function property_list()
properties[#properties + 1] = 'current-tracks/' .. sub_property
end

properties[#properties + 1] = 'clipboard/text'
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
properties[#properties + 1] = 'clipboard/text'
for _, sub_property in pairs({'text'}) do
properties[#properties + 1] = 'clipboard/' .. sub_property
end

Could we do this, so it is easier to extend to image and other formats in the future?

@guidocella guidocella force-pushed the console-complete-clipboard branch from 4cd2c60 to 19f1d05 Compare December 28, 2024 13:06
@kasper93 kasper93 merged commit 61aa820 into mpv-player:master Dec 28, 2024
24 checks passed
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.

2 participants