Alexey Vyskubov
Alexey Vyskubov
I have very much the same issue not in WSL but on FreeBSD 13.1 and FreeBSD 14.0 (ssh-ed in from Windows Terminal). Increasing `escape-timeout` seems to fix the problem.
Neither `-S` nor `--terminal-width` helps. This is the result of `PAGER="bat --style snip --theme gruvbox-dark -S" man ls` This is the result of `PAGER="bat --style snip --theme gruvbox-dark --terminal-width 40"...
I do not think that highlighting goes off because of wrapping. As you can see, it goes off after (non-wrapped) "DESCRIPTION" header.
If it helps, that's what bat shows with `-A` Surprising thing: setting `terminal-width` to anything less than 22 causes "DESCRIPTION" header to wrap.
Actually, I'm wrong: it looks like the highlighting is broken even before, in ls option line. Does `[` do something bad?
You are right. The problem with line break seems to go away. I believe I have the same issues with default theme. I will produce screenshots tomorrow; it is nearly...
I will also try with col tomorrow.
You are right; col solves the problem (even though that resulting highlighting has nothing in common with "proper" highlighting -- I suppose the suggested combination just strips all the formatting...
Any chance to try the fix?
I had to install yarn and a bunch of opam packages but then `make install` worked on 13.2-RELEASE-p2 arm64. Thanks!