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

When recording a TUI application created using the ratatui library to display CJK, the text width is incorrect #270

Open
eatradish opened this issue Oct 14, 2024 · 1 comment

Comments

@eatradish
Copy link

eatradish commented Oct 14, 2024

Describe the bug

When recording a TUI application created using the ratatui library (e.g: yazi, oma ) to display CJK, the character width is incorrect, and when playing from the asciinema command line, the CJK character widths are correct

Screenshots
asciinema play:

图片

https://asciinema.org/a/RUZQKRuP2k4AOqQ1RV4YJ2fmd :

photo_2024-10-14_14-35-02

asciinema play :

图片

https://asciinema.org/a/TU6EJieJ1q09fK6ybZI6w70Zz :

photo_2024-10-14_14-50-36

Versions:

  • AOSC OS (Linux/x11)
  • Firefox 131
  • asciinema player: 3.8.1

Additional context

@eatradish eatradish changed the title When recording a TUI application created using the ratatui library to display CJK, the character width is incorrect When recording a TUI application created using the ratatui library to display CJK, the text width is incorrect Oct 14, 2024
@ku1ik
Copy link
Contributor

ku1ik commented Oct 27, 2024

This is likely related to this shortcoming in avt: asciinema/avt#19

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

2 participants