gocui icon indicating copy to clipboard operation
gocui copied to clipboard

Invalid \r handling

Open martin31821 opened this issue 5 years ago • 1 comments

When I write \r to a view, the line is discarded, which is actually wrong, since the only thing a \r should do is to set the cursor, so either we ignore \r, or handle it correctly.

It's broken here

martin31821 avatar Aug 23 '18 23:08 martin31821

I can confirm the problem, I had to replace windows line ending (\r\n) into unix one (\n) to avoid that.

MichaelMure avatar Sep 25 '18 17:09 MichaelMure