chrys87 / fenrir

An TTY screenreader for Linux.
GNU Lesser General Public License v3.0
46 stars 14 forks source link

Using copy/paste functions doesn't keep line breaks #64

Open Cleversn opened 1 year ago

Cleversn commented 1 year ago

When I mark a text, then copy and paste somewhere, Fenrir doesn't keep line breaks, but paste all of the text as a single line. this occurs when copying from the bash terminal as well as nano editor. It appears Fenrir is somehow erasing the line break character, or the like.

lilmike commented 1 year ago

Hiya,

I cannot reproduce this issue. Are you sure you're not copying and pasting a very long line that fenrir manually line breaks for review so that it doesn't overflow the size of the review screen? I.E. if your screen is 240 characters wide, and a line is output that has 560 characters, fenrir would manually break the line into three lines for review. However, as far as I know, copying and pasting the same three lines from review will end up with one single line as it actually was output.

-Michael.

On Wed, Jul 05, 2023 at 03:37:29PM -0700, Cleverson wrote:

When I mark a text, then copy and paste somewhere, Fenrir doesn't keep line breaks, but paste all of the text as a single line. this occurs when copying from the bash terminal as well as nano editor. It appears Fenrir is somehow erasing the line break character, or the like.

-- Reply to this email directly or view it on GitHub: https://github.com/chrys87/fenrir/issues/64 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

-- Sorry about the test, it's just a me thing. Michael Taboada, Creator of Games. Does that make me a god, well, sorta. My pgp key: 79BC390E8864CD71305D4DD606CD2197A6EE5ED7 My website: https://michaels.world 2MB website: https://2mb.games Don't believe everything you read on the internet. I might not be real, you might not be real, and this email certainly isn't real. Sent from my vintage... stationary bicycle

Cleversn commented 1 year ago

Hi, for me it really supress breaks. Earlier today I marked my prompt before and after the output of an LS command, copied and pasted into nano, and the problem occurred.

lilmike commented 1 year ago

Hiya,

Weird. Honestly not sure what to suggest. As mentioned, I tried to copy and paste several lines of terminal output and it worked fine. I am also on the latest fenrir version.

-Michael.

On Thu, Jul 06, 2023 at 05:29:01PM -0700, Cleverson wrote:

Hi, for me it really supress breaks. Earlier today I marked my prompt before and after the output of an LS command, copied and pasted into nano, and the problem occurred.

-- Reply to this email directly or view it on GitHub: https://github.com/chrys87/fenrir/issues/64#issuecomment-1624470219 You are receiving this because you commented.

Message ID: @.***>

-- Sorry about the test, it's just a me thing. Michael Taboada, Creator of Games. Does that make me a god, well, sorta. My pgp key: 79BC390E8864CD71305D4DD606CD2197A6EE5ED7 My website: https://michaels.world 2MB website: https://2mb.games Don't believe everything you read on the internet. I might not be real, you might not be real, and this email certainly isn't real. Sent from my smart home... stationary bicycle

chrys87 commented 4 weeks ago

is this still a thing? is this reproduceable in any way? or can you send me an debug out? sudo fenrir -d creates an debugging file in /tmp/fenrirscreenreader/