walles / moar

Moar is a pager. It's designed to just do the right thing without any configuration.
Other
587 stars 17 forks source link

`moar` does not print a trailing newline in `-quit-if-one-screen` mode #165

Closed ilyagr closed 7 months ago

ilyagr commented 7 months ago
$ echo aa |MOAR= moar -quit-if-one-screen && echo bb
aabb
$ moar --version
v1.18.3

The expected result of the first command would have been:

aa
bb

I've also seen this bug in previous versions of moar.

This is on Linux, Debian testing (trixie)

walles commented 7 months ago

Fixed in 1.18.4: https://github.com/walles/moar/releases/tag/v1.18.4

Thanks for the super clear report @ilyagr!

ilyagr commented 7 months ago

Thank you very much!