Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBaseCanvas ¶
func NewBaseCanvas(screen tcell.Screen) *baseCanvas
Types ¶
type Window ¶
type Window interface { // Size returns the minimum size required by the component Size() (int, int) Add(c core.Component) Remove(c core.Component) SetSimulation(s bool) SetAlignment(j core.Alignment) Window Show() error OnKeypress(handler func(key *tcell.EventKey) bool) Close() }
func New ¶
func New(opts ...WindowOption) (Window, error)
type WindowOption ¶ added in v0.0.13
func WindowOptionSimulation ¶ added in v0.0.13
func WindowOptionSimulation() WindowOption
Click to show internal directories.
Click to hide internal directories.