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

Allow disabling alignment when rendering multiple lines #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Maverobot
Copy link

This is a possible solution for this reported issue of mine - #52

@Maverobot
Copy link
Author

@muesli Hello, sorry for the ping. Is there any chance to merge this PR? Feedback is very welcome.

@meowgorithm
Copy link
Member

@Maverobot Sorry for the slow reply to this one (been a busy start to the year). Can you provide some sample code to help us understand the use case?

@Maverobot
Copy link
Author

Maverobot commented Feb 9, 2022

@meowgorithm No problem. Here is the code where I encountered the issue during implementation:

https://github.com/Maverobot/lttng-go

It has been some time and my memory is getting blurred... If I remember it correctly, the format of multiple-line "list item" is broken because lipgloss.StyleRunes function does not work properly with the "alignment".

Let me know if you cannot get my point. In that case, I will have a deeper look again.

@muesli muesli added the enhancement New feature or request label Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants