Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mxple opened this issue Jul 8, 2024 · 8 comments
Closed

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

mxple opened this issue Jul 8, 2024 · 8 comments

Comments

@mxple
Copy link

mxple commented Jul 8, 2024

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

@ku1ik
Copy link
Contributor

ku1ik commented Jul 8, 2024

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

@mxple
Copy link
Author

mxple commented Jul 8, 2024

I use kitty

@baco
Copy link

baco commented Oct 19, 2024

and, what's the workaround, then?

@mxple
Copy link
Author

mxple commented Oct 20, 2024

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
Copy link
Contributor

ku1ik commented Oct 20, 2024

This should now be fixed in the main branch.

@baco
Copy link

baco commented Oct 20, 2024

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
Copy link
Contributor

ku1ik commented Oct 21, 2024

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

@ku1ik
Copy link
Contributor

ku1ik commented Oct 27, 2024

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

@ku1ik ku1ik closed this as completed Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants