On 2023-10-12 18:19, Junio C Hamano wrote:
Dragan Simic <dsimic@xxxxxxxxxxx> writes:
Please note that dropping "-X" and leaving "-F" would actually
introduce the inconsistency that I already mentioned. To reiterate,
short outputs would then remain displayed on screen, while long
outputs would disappear after exiting less(1).
Good point.
I've been thinking about this, and a rather elegant, backward-compatible
solution is possible, but it requires some improvements to be made to
less(1) first. I'll reach out to the author of less(1) and propose that
new feature, and I'll let you know his opinion about it.