Span entire terminal width #178
Closed
vincentfiestada
started this conversation in
General
Replies: 2 comments 3 replies
-
|
The only way I found yet was to fetch a WindowSizeMsg (if using Lipgloss with Bubbletea, ymmv) and set the width accordingly. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
You can retrieve the dimensions of the terminal using https://pkg.go.dev/golang.org/x/term#GetSize and supply these values to lipgloss's |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way for lipgloss to style text so that it spans the entire width of the terminal? I would like to render some text so that it's right-aligned on the terminal.
Beta Was this translation helpful? Give feedback.
All reactions