Versions in this module Expand all Collapse all v0 v0.1.1 Dec 20, 2021 v0.1.0 Dec 15, 2021 Changes in this version + type DockPos int + const PosAbove + const PosBelow + const PosLeft + const PosRight + type Flushable interface + FlushTo func(screen tcell.Screen) + type GraphView struct + DomainLabeler plot.DomainLabeler + DomainTickSpacing int + Graph *plot.PlatonicGraph + RangeLabeler plot.RangeLabeler + RangeTickSpacing int + func (g *GraphView) FlushTo(screen tcell.Screen) + func (g *GraphView) SetBox(box PositionBox) + type PositionBox struct + Cols int + Rows int + StartCol int + StartRow int + type PromptView struct + HandleInput func(input string) (text *string, stop bool) + OnSetup func() + Screen screenIsh + SetupPrompt func(requiredOpts ...prompt.Option) *prompt.Prompt + func (v *PromptView) FlushTo(screen tcell.Screen) + func (v *PromptView) HandleKey(evt *tcell.EventKey) + func (v *PromptView) Run(ctx context.Context, initialInput *string, shutdownScreen func()) error + func (v *PromptView) SetBox(box PositionBox) + type Resizable interface + SetBox func(PositionBox) + type Runner struct + KeyHandler func(*tcell.EventKey) + MakeScreen func() (tcell.Screen, error) + OnStart func() + func (r *Runner) HideCursor() + func (r *Runner) RequestRepaint() + func (r *Runner) RequestUpdate(newView View) + func (r *Runner) Run(ctx context.Context, initialView View) error + func (r *Runner) ShowCursor(col, row int) + type SplitView struct + Dock DockPos + DockMaxPercent int + DockSize int + Docked Resizable + Flexed Resizable + func (v *SplitView) FlushTo(screen tcell.Screen) + func (v *SplitView) SetBox(box PositionBox) + type StaticResizable struct + func (r *StaticResizable) SetBox(box PositionBox) + type TextBox struct + func (t *TextBox) FlushTo(screen tcell.Screen) + func (t *TextBox) SetBox(box PositionBox) + func (t *TextBox) WriteString(str string, sty tcell.Style) + type View interface