Documentation
¶
Index ¶
Constants ¶
View Source
const ( Left = Side(true) Right = Side(false) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageBox ¶
func NewMessageBox ¶
func NewMessageBox() *MessageBox
func (*MessageBox) AddMessage ¶
func (m *MessageBox) AddMessage(msg *Message, side Side)
func (*MessageBox) Buffer ¶
func (m *MessageBox) Buffer() termui.Buffer
func (*MessageBox) Tick ¶
func (m *MessageBox) Tick() bool
type ScrollableList ¶
type ScrollableList struct { *termui.List SourceItems []string CurrentItem int HighlightColor string // contains filtered or unexported fields }
func NewScrollableList ¶
func NewScrollableList() *ScrollableList
func (*ScrollableList) Select ¶
func (sl *ScrollableList) Select(item int)
func (*ScrollableList) SelectNext ¶
func (sl *ScrollableList) SelectNext()
func (*ScrollableList) SelectPrevious ¶
func (sl *ScrollableList) SelectPrevious()
func (*ScrollableList) SetItems ¶
func (sl *ScrollableList) SetItems(items []string)
Click to show internal directories.
Click to hide internal directories.