Include stripped newlines #40
Unanswered
arturcarvalho
asked this question in
Q&A
Replies: 1 comment
-
I've commented the line out and it works for my use case. Do you think it would make sense to add a configuration flag to turn on/off the trim? I'd be happy to provide a PR. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I understand correctly, the
\n
is being stripped:tail/tail.go
Line 244 in 4472660
Is this trim necessary? It's causing me issues, because later I can't distinguish between line endings and regular
\r
(I'm joining all the text).I suppose I can add some logic to add the
\n
again, but it seems a bit redundant.Thanks and thank you very much for the library!
Beta Was this translation helpful? Give feedback.
All reactions