Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LineBorders = Borders{
Top: tcell.RuneHLine,
Bottom: tcell.RuneHLine,
Left: tcell.RuneVLine,
Right: tcell.RuneVLine,
TopLeft: tcell.RuneULCorner,
TopRight: tcell.RuneURCorner,
BottomLeft: tcell.RuneLLCorner,
BottomRight: tcell.RuneLRCorner,
}
View Source
var RoundBorders = Borders{ Top: LineBorders.Top, Bottom: LineBorders.Bottom, Left: LineBorders.Left, Right: LineBorders.Right, TopLeft: '╭', TopRight: '╮', BottomLeft: '╰', BottomRight: '╯', }
Functions ¶
Types ¶
type Block ¶
type Block struct { Title string TitleAlign Align TitleStyle tcell.Style Border bool Borders Borders BorderStyle tcell.Style // contains filtered or unexported fields }
Block represents a frame with optional and customizable elements such as borders and a title.
Click to show internal directories.
Click to hide internal directories.