-
Notifications
You must be signed in to change notification settings - Fork 273
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
The title could be shown either on top or bottom of the block.
Here one example of such UI
The API might look like the following
var style = lipgloss.NewStyle().
BorderStyle(lipgloss.NormalBorder()).
BorderForeground(lipgloss.Color("63")).
Title(lipgloss.Top, "Title")
There is also a need to change the title dynamically
style.SetTitle((lipgloss.Top, "New Title"))
Titles which do not fit the width of the block can be automatically truncated at the front or back. The fact of truncation can be represented by adding …
character
meowgorithm, bashbunni, lrstanley, vsimon, dbirks and 2 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request