typstfmt icon indicating copy to clipboard operation
typstfmt copied to clipboard

Do not remove LF character at the EOF

Open Andrew15-5 opened this issue 1 year ago • 0 comments

  • [x] I have tested with the master version of typstfmt and not just typst-lsp

Describe the bug

% in zsh's output means that the end of output is at the end of the line where % is, meaning that there is no LF at the end of this line. image

If i chat print file's output, no % is shown:

image

To Reproduce Steps to reproduce the behavior: echo word | typstfmt --output - (echo always adds LF at the end of the line). This will output: image

Andrew15-5 avatar Nov 06 '23 15:11 Andrew15-5