Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BLACK = vaxis.IndexColor(0) URGENT = vaxis.IndexColor(9) WARNING = vaxis.IndexColor(11) GOOD = vaxis.IndexColor(2) ACTIVE = vaxis.IndexColor(15) COOL = vaxis.RGBColor(173, 216, 230) SPECIAL = vaxis.RGBColor(0, 100, 0) )
View Source
var ( ECSPACE = EventCell{ C: vaxis.Cell{Character: vaxis.Characters(" ")[0]}, Metadata: "", Mod: nil, MouseShape: "", } ECDOT = EventCell{ C: vaxis.Cell{Character: vaxis.Characters(".")[0]}, Metadata: "", Mod: nil, MouseShape: "", } ECELLIPSIS = EventCell{ C: vaxis.Cell{Character: vaxis.Characters("…")[0]}, Metadata: "", Mod: nil, MouseShape: "", } )
Functions ¶
Types ¶
type StaticModule ¶
type StaticModule struct {
// contains filtered or unexported fields
}
func NewStaticModule ¶
func NewStaticModule(name string, cells []EventCell, deps []string) *StaticModule
func (*StaticModule) Channels ¶
func (sm *StaticModule) Channels() (<-chan bool, chan<- Event)
func (*StaticModule) Dependencies ¶
func (sm *StaticModule) Dependencies() []string
func (*StaticModule) Name ¶
func (sm *StaticModule) Name() string
func (*StaticModule) Render ¶
func (sm *StaticModule) Render() []EventCell
Click to show internal directories.
Click to hide internal directories.