Versions in this module Expand all Collapse all v0 v0.6.0 Sep 6, 2019 Changes in this version + const AlignCenter + const AlignLeft + const AlignRight + var TabSize = 4 + func ANSIWriter(writer io.Writer) io.Writer + func TranslateANSI(text string) string + type TextView struct + func NewTextView() *TextView + func (t *TextView) Clear() *TextView + func (t *TextView) Draw(screen tcell.Screen) + func (t *TextView) Focus(delegate func(p tview.Primitive)) + func (t *TextView) GetHighlights() (regionIDs []string) + func (t *TextView) GetRegionText(regionID string) string + func (t *TextView) GetScrollOffset() (row, column int) + func (t *TextView) GetText(stripTags bool) string + func (t *TextView) HasFocus() bool + func (t *TextView) Highlight(regionIDs ...string) *TextView + func (t *TextView) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive)) + func (t *TextView) ScrollTo(row, column int) *TextView + func (t *TextView) ScrollToBeginning() *TextView + func (t *TextView) ScrollToEnd() *TextView + func (t *TextView) ScrollToHighlight() *TextView + func (t *TextView) SetChangedFunc(handler func()) *TextView + func (t *TextView) SetDoneFunc(handler func(key tcell.Key)) *TextView + func (t *TextView) SetDynamicColors(dynamic bool) *TextView + func (t *TextView) SetRegions(regions bool) *TextView + func (t *TextView) SetScrollable(scrollable bool) *TextView + func (t *TextView) SetText(text string) *TextView + func (t *TextView) SetTextAlign(align int) *TextView + func (t *TextView) SetTextColor(color tcell.Color) *TextView + func (t *TextView) SetWordWrap(wrapOnWords bool) *TextView + func (t *TextView) SetWrap(wrap bool) *TextView + func (t *TextView) Write(p []byte) (n int, err error) + type UI struct + func NewUI(config UIConfig) *UI + func (ui *UI) Create() + func (ui *UI) Input() <-chan string + func (ui *UI) Run() + func (ui *UI) Stop() + type UIConfig struct + AmbiguousWidth string