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 during "Render" #52

Open
Maverobot opened this issue Dec 24, 2021 · 0 comments
Open

Allow disabling alignment during "Render" #52

Maverobot opened this issue Dec 24, 2021 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@Maverobot
Copy link

It seems that currently strings with multiple lines are always aligned during rendering. See https://github.com/charmbracelet/lipgloss/blob/4f0d44/style.go#L333-L346

I would like to disable the alignment in my use case. It would make sense to let the user choose if an alignment is desired. What do you think?

Maverobot added a commit to Maverobot/lttng-go that referenced this issue Dec 25, 2021
Further issue: If the matched text is not on the first line, there will be a
weird padding ( multiple blank spaces) added between the text. It is reported at
charmbracelet/lipgloss#52.
Maverobot added a commit to Maverobot/lttng-go that referenced this issue Dec 25, 2021
Further issue: If the matched text is not on the first line, there will be a
weird padding ( multiple blank spaces) added between the text. It is reported at
charmbracelet/lipgloss#52.
Maverobot added a commit to Maverobot/lttng-go that referenced this issue Dec 26, 2021
Further issue: If the matched text is not on the first line, there will be a
weird padding ( multiple blank spaces) added between the text. It is reported at
charmbracelet/lipgloss#52.
@bashbunni bashbunni added enhancement New feature or request question Further information is requested labels Apr 8, 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 question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants