Task list layout issue
Closed this issue ยท 3 comments
@tomekz Thanks for bringing this to my attention.
Unfortunately I was unable to replicate this issue on my local. Here is a screenshot of my gnome-terminal:
Still can you kindly share some more details?
- For starters, does this misalignment persist when you resize your terminal. Sometimes bubbletea leaves some residue from the previous view. It tends to go away when terminal is resized.
- Did you notice this issue in other stacks as well?
Btw I checked out the coincap-tui project & the graph view looks stunning. You should consider publishing that as a bubble. It would be really useful for the rest of us.
I think I've tracked down the problem ๐ต๏ธ
The layout breaks when you use in the input string some emoji that contains multiple unicode characters via the ZWJ sequence
So to reproduce the issue copy the emoji using the copy on the page and use it in the stack name field
The problem is in lipgloss that calculates wrongly the size of the block elements when "compound" emojis are used
They have already issue for that so I guess it's worth to watch it
I guess we'll have to wait for the charm team to fix this bug in lipgloss. For now I'll mark it as closed.