Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CTopHeader ¶
type CTopHeader struct {
Time *ui.Par
Count *ui.Par
Filter *ui.Par
// contains filtered or unexported fields
}
func NewCTopHeader ¶
func NewCTopHeader() *CTopHeader
func (*CTopHeader) Align ¶
func (c *CTopHeader) Align()
func (*CTopHeader) Buffer ¶
func (c *CTopHeader) Buffer() ui.Buffer
func (*CTopHeader) Height ¶
func (c *CTopHeader) Height() int
func (*CTopHeader) SetCount ¶
func (c *CTopHeader) SetCount(val int)
func (*CTopHeader) SetFilter ¶
func (c *CTopHeader) SetFilter(val string)
type ErrorView ¶ added in v0.7.3
func NewErrorView ¶ added in v0.7.3
func NewErrorView() *ErrorView
type Input ¶
type Input struct {
ui.Block
Label string
Data string
MaxLen int
TextFgColor ui.Attribute
TextBgColor ui.Attribute
// contains filtered or unexported fields
}
func (*Input) InputHandlers ¶
func (i *Input) InputHandlers()
Setup some default handlers for menu navigation
type StatusLine ¶ added in v0.7.1
func NewStatusLine ¶ added in v0.7.1
func NewStatusLine() *StatusLine
func (*StatusLine) Align ¶ added in v0.7.1
func (sl *StatusLine) Align()
func (*StatusLine) Buffer ¶ added in v0.7.1
func (sl *StatusLine) Buffer() ui.Buffer
func (*StatusLine) Display ¶ added in v0.7.1
func (sl *StatusLine) Display()
func (*StatusLine) Height ¶ added in v0.7.1
func (sl *StatusLine) Height() int
func (*StatusLine) Show ¶ added in v0.7.1
func (sl *StatusLine) Show(s string)
change given message on the status line
func (*StatusLine) ShowErr ¶ added in v0.7.1
func (sl *StatusLine) ShowErr(s string)
type TextView ¶ added in v0.7.1
type TextView struct {
ui.Block
Text []ToggleText // all the text
TextOut []string // text to be displayed
TextFgColor ui.Attribute
TextBgColor ui.Attribute
// contains filtered or unexported fields
}
func NewTextView ¶ added in v0.7.1
func NewTextView(lines <-chan ToggleText) *TextView
type ToggleText ¶ added in v0.7.1
Click to show internal directories.
Click to hide internal directories.