Closed joyguar closed 1 year ago
I tried this with less
, and the only thing that turned blue was the prompt at the bottom of the page.
Can you give an example / screenshot / repro case / something to demonstrate what you want to turn blue with this setting?
Since I don't use the LESS_TERMCAP
settings myself I need some sort of test case to see that I'd be fixing the right thing.
And search hits, I saw that now as well.
Yes, no problem. Here is a photo of what I see upon opening man pages. Top is moar and bottom is less. You can see that the standout (highlighting) settings are applied to the bottom notification/banner in less but not moar.
Here is a photo of what I see upon searching: Again, top is moar and bottom is less. You can see that search items are highlighted with colors according to termcap settings in less, but are simply inverting colors in moar.
Cool, so it's search hits and the bottom status bar that should get the _so
color.
Released 1.11.3 with this change in it. If you're on Homebrew, here's the release status: https://github.com/Homebrew/homebrew-core/pull/119468
Please let me know how it works for you!
@walles It works perfectly! Thanks for making that update. I've now switched over to using moar
entirely in place of less
.
I just recently switched over to
moar
fromless
and it seems thatmoar
doesn't respect the LESS_TERMCAP standout color settings asless
does. My standout color settings are set by:This should produce highlighting with a light blue background and white foreground text. However,
moar
appears to be only inverting the color of the text and background for standout mode.Per https://github.com/walles/moar/issues/14
moar
should respect LESS_TERMCAP settings in the same way asless
.