On 2014-01-02 16:17:10, Francesco Poli (wintermute) wrote:
> It seems to me that the text copied to the clipboard (by selecting an
> area with the left mouse button) always includes a final spurious
> newline character.
> 
> This has surprising effects.
> For instance, if the text is pasted (by using the middle mouse button)
> into a terminal shell command prompt, there's no way to avoid ending
> the command line with the pasted text (what if I wanted to add something
> else, before issueing the command?!?).

After a quick look at the code, zathura doesn't add the newline. We
simply pass the text we get from poppler/libspectre/... to the GTK
function to set the selection. While trying to reproduce the issue I
noticed that libpoppler-glib8 0.22.5-3 doesn't seem to add a newline
while 0.18.4-10 does - note that this could also just have happended by
chance since the selection code often depends to heavily on the
selection rectangle and gives different results if you're just a pixel
off.

So please try poppler from experimental. It might fix your issue.

Regards
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: Digital signature

Reply via email to