Versions in this module Expand all Collapse all v0 v0.2.0 Nov 11, 2020 Changes in this version + type LineChart interface + Series func(label string, values []float64, opts ...linechart.SeriesOption) error + type MockLineChart struct + func NewMockLineChart(ctrl *gomock.Controller) *MockLineChart + func (m *MockLineChart) Draw(cvs *canvas.Canvas, meta *widgetapi.Meta) error + func (m *MockLineChart) EXPECT() *MockLineChartMockRecorder + func (m *MockLineChart) Keyboard(k *terminalapi.Keyboard) error + func (m *MockLineChart) Options() widgetapi.Options + func (m *MockLineChart) Series(label string, values []float64, opts ...linechart.SeriesOption) error + func (m_2 *MockLineChart) Mouse(m *terminalapi.Mouse) error + type MockLineChartMockRecorder struct + func (mr *MockLineChartMockRecorder) Draw(cvs, meta interface{}) *gomock.Call + func (mr *MockLineChartMockRecorder) Keyboard(k interface{}) *gomock.Call + func (mr *MockLineChartMockRecorder) Mouse(m interface{}) *gomock.Call + func (mr *MockLineChartMockRecorder) Options() *gomock.Call + func (mr *MockLineChartMockRecorder) Series(label, values interface{}, opts ...interface{}) *gomock.Call + type MockText struct + func NewMockText(ctrl *gomock.Controller) *MockText + func (m *MockText) Draw(cvs *canvas.Canvas, meta *widgetapi.Meta) error + func (m *MockText) EXPECT() *MockTextMockRecorder + func (m *MockText) Keyboard(k *terminalapi.Keyboard) error + func (m *MockText) Options() widgetapi.Options + func (m *MockText) Write(text string, wOpts ...text.WriteOption) error + func (m_2 *MockText) Mouse(m *terminalapi.Mouse) error + type MockTextMockRecorder struct + func (mr *MockTextMockRecorder) Draw(cvs, meta interface{}) *gomock.Call + func (mr *MockTextMockRecorder) Keyboard(k interface{}) *gomock.Call + func (mr *MockTextMockRecorder) Mouse(m interface{}) *gomock.Call + func (mr *MockTextMockRecorder) Options() *gomock.Call + func (mr *MockTextMockRecorder) Write(text interface{}, wOpts ...interface{}) *gomock.Call + type TUI struct + Cancel context.CancelFunc + Metadata stats.Meta + RedrawInterval time.Duration + StatsCh <-chan *stats.Stats + func NewTUI(redrawInterval time.Duration, cancel context.CancelFunc, ...) *TUI + func (g *TUI) Run(ctx context.Context) error + type Text interface + Write func(text string, wOpts ...text.WriteOption) error