bat-extras icon indicating copy to clipboard operation
bat-extras copied to clipboard

partial highlighting in batman

Open haizaar opened this issue 2 years ago • 4 comments

Good day, I'm compaing man man to batman man and notice that the latter doesn't highligh flag names:

This is the vania man image

And this is batman image

I'm running batman 2023.03.21 on NixOS in KDE's konsole terminal.

haizaar avatar Jun 27 '23 12:06 haizaar

Are you using a different bat theme? Most of them seem to have issues highlighting flags, unfortunately. The few themes that do work are:

  • Monokai Extended / Monokai Extended Light
  • Solarized (dark) / Solarized (light)

There isn't yet a way to override a theme from bat's config file, but I'll add it to my TODO list.

eth-p avatar Sep 11 '23 22:09 eth-p

I added some documentation for this issue in commit https://github.com/eth-p/bat-extras/commit/6f579b1d45f3bfd13eaf3efc4a4ce519ae636946.

eth-p avatar Sep 13 '23 18:09 eth-p

I have the same problem with missing bold text. maybe related to sharkdp/bat#652

I think col -b essentially removes the boldness because it removes the backspace characters.

yshui avatar Jan 14 '24 15:01 yshui