asciinema/agg

agg doesn't seem to pick up on colors inside nvim

Closed this issue · 8 comments

Describe the bug
agg doesn't pick on colors in neovim. agg works for vim, and asciinema stream also capture colors.

Versions:

  • OS: 6.9.6 Arch
    asciinema: 3.0.0-rc.3
    agg: 1.4.3

Additional context
gif output from agg
example

screenshot of asciinema stream
image

I think I know what's up. Do you happen to use Kitty or WezTerm as your terminal?

I use kitty

baco commented

and, what's the workaround, then?

mxple commented

and, what's the workaround, then?

No longer using agg but try setting TERM=xterm. Many terminal programs do not recognize xterm-kitty and do not produce color escape codes for unknown terminals.

ku1ik commented

This should now be fixed in the main branch.

baco commented

You're right @ku1ik, it is solved in main. Thank you very much!!!

I guess we just have to wait for the next release.

ku1ik commented

Great to hear. I'm planning a new release soon, likely within a couple of days.

ku1ik commented

agg 1.5.0 with the above fix is out: https://github.com/asciinema/agg/releases/tag/v1.5.0