Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultWidth = 80 DefaultHeight = 25 )
Variables ¶
This section is empty.
Functions ¶
func StringWidth ¶
Types ¶
type Attributes ¶
type Attributes []Attribute
type CenteredText ¶
type CenteredText struct {
TextSection
}
type GroupSection ¶
type GroupSection struct {
Sections []Section
}
type ProgressSection ¶
type ProgressSection struct { Text string // contains filtered or unexported fields }
func (*ProgressSection) Enter ¶ added in v1.2.2
func (s *ProgressSection) Enter()
func (*ProgressSection) Leave ¶ added in v1.2.2
func (s *ProgressSection) Leave()
type RowSection ¶
type RowSection struct {
Cells []RowCell
}
type SplitterSection ¶
type SplitterSection struct {
Title string
}
type TextSection ¶
type TextSection struct { Attributes Attributes Text string }
func (*TextSection) String ¶
func (s *TextSection) String() string
Click to show internal directories.
Click to hide internal directories.