walles / moar

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

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

Closed ilyagr closed 1 year ago

ilyagr commented 1 year 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 1 year 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 1 year ago

Thank you very much!