Description of problem:
Colour is missing in some places when using less.
Version-Release number of selected component (if applicable):
Always, but not in all places in a given file.
Steps to Reproduce:
1. ack foo [this is piped to less]
2. ack --nopager foo [this goes straight to the terminal]
3. Compare the outputs
Some of the colour is missing when piped to less.
Both look the same.
I tried this with the latest release, 581.2, and the bug was gone.
Hit the same issue, with grep output going entirely missing due to its use of \e[K line-clearing sequences. See https://github.com/gwsw/less/issues/140 for details.
FEDORA-2021-50ffffcdd9 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-50ffffcdd9
FEDORA-2021-50ffffcdd9 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-50ffffcdd9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-50ffffcdd9
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-50ffffcdd9 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.