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

Copy doesn't seem to copy newline characters #1189

Open
dinesh-58 opened this issue Oct 13, 2024 · 4 comments
Open

Copy doesn't seem to copy newline characters #1189

dinesh-58 opened this issue Oct 13, 2024 · 4 comments

Comments

@dinesh-58
Copy link

When copying text from pdfs and pasting it, newline characters don't seem to get copied i.e. the text shows up as a single line. On version 2.0.0. Also, the --version flag doesn't seem to work on windows?

@ahrm
Copy link
Owner

ahrm commented Oct 13, 2024

Does it happen in the preview release here: https://github.com/ahrm/sioyek/releases/tag/sioyek3-alpha0?

@dinesh-58
Copy link
Author

Yes. Still happens

@ahrm
Copy link
Owner

ahrm commented Oct 13, 2024

Not copying newlines was by design (it is usually what we want). For the rare case that we don't want that I added an add_newlines_when_copying_text config option in this commit in the development branch: da82f7d.

@dinesh-58
Copy link
Author

oh wow. thanks for the quick add

Repository owner deleted a comment Oct 25, 2024
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

No branches or pull requests

3 participants
@ahrm @dinesh-58 and others