Skip to content

Copying fixes #88

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

Merged
merged 2 commits into from
May 23, 2023
Merged

Copying fixes #88

merged 2 commits into from
May 23, 2023

Conversation

maan2003
Copy link
Contributor

maan2003 added 2 commits May 22, 2023 21:06
--foreground just hangs the mprocs process
not add newlines if row is wrapped
@@ -30,7 +30,7 @@ fn detect_copy_provider() -> Provider {
// Wayland
if std::env::var("WAYLAND_DISPLAY").is_ok() {
if let Some(provider) =
check_prog("wl-copy", &["--foreground", "--type", "text/plain"])
Copy link
Owner

Choose a reason for hiding this comment

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

Thank you for the PR! What was the reason for removing this? If I'm not mistaken, there was a problem without that argument. But I can't remember for sure.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

with --foreground, mprocs process just hangs forever after copying (doesn't respond to user input).

@pvolok pvolok merged commit 8afa1fc into pvolok:master May 23, 2023
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.

Newlines added when copying long string spanning multiple lines
2 participants