Versions in this module Expand all Collapse all v0 v0.0.12 Feb 12, 2021 v0.0.11 Dec 26, 2020 v0.0.10 Dec 13, 2020 v0.0.9 Jul 19, 2020 v0.0.8 Jul 18, 2020 v0.0.7 Jul 17, 2020 v0.0.6 Jul 14, 2020 v0.0.5 Feb 12, 2020 v0.0.4 Feb 12, 2020 v0.0.3 Feb 12, 2020 Changes in this version + const Alt0 + const AltA + const AltB + const AltBS + const AltC + const AltD + const AltDown + const AltE + const AltF + const AltLeft + const AltRight + const AltSlash + const AltSpace + const AltUp + const AltZ + const AttrRegular — darwin/amd64, js/wasm, linux/amd64 + const BSpace + const BTab + const Blink + const Blink2 — darwin/amd64, js/wasm, linux/amd64 + const Bold + const Change + const CtrlA + const CtrlAltA + const CtrlAltM + const CtrlB + const CtrlBackSlash + const CtrlC + const CtrlCaret + const CtrlD + const CtrlE + const CtrlF + const CtrlG + const CtrlH + const CtrlJ + const CtrlK + const CtrlL + const CtrlM + const CtrlN + const CtrlO + const CtrlP + const CtrlQ + const CtrlR + const CtrlRightBracket + const CtrlS + const CtrlSlash + const CtrlSpace + const CtrlT + const CtrlU + const CtrlV + const CtrlW + const CtrlX + const CtrlY + const CtrlZ + const Del + const Dim + const DoubleClick + const Down + const ESC + const End + const F1 + const F10 + const F11 + const F12 + const F2 + const F3 + const F4 + const F5 + const F6 + const F7 + const F8 + const F9 + const Home + const Invalid + const Italic + const Left + const LeftClick + const Mouse + const PgDn + const PgUp + const Resize + const Reverse + const Right + const RightClick + const Rune + const SDown + const SLeft + const SRight + const SUp + const Tab + const Underline + const Up + var ColBorder ColorPair + var ColCurrent ColorPair + var ColCurrentCursor ColorPair + var ColCurrentMatch ColorPair + var ColCurrentSelected ColorPair + var ColCursor ColorPair + var ColHeader ColorPair + var ColInfo ColorPair + var ColMatch ColorPair + var ColNormal ColorPair + var ColPreview ColorPair + var ColPreviewBorder ColorPair + var ColPrompt ColorPair + var ColSelected ColorPair + var ColSpinner ColorPair + var Dark256 *ColorTheme + var Default16 *ColorTheme + var Light256 *ColorTheme + func HasFullscreenRenderer() bool + type Attr int — darwin/amd64, js/wasm, linux/amd64 + type Attr tcell.Style — windows/amd64 + const AttrRegular + func (a Attr) Merge(b Attr) Attr + type BorderCharacter int + type BorderShape int + const BorderAround + const BorderHorizontal + const BorderNone + type BorderStyle struct + func MakeBorderStyle(shape BorderShape, unicode bool) BorderStyle + func MakeTransparentBorder() BorderStyle + type Color int32 + func HexToColor(rrggbb string) Color + func (c Color) Style() tcell.Color + type ColorPair struct + func NewColorPair(fg Color, bg Color) ColorPair + func (p ColorPair) Bg() Color + func (p ColorPair) Fg() Color + type ColorTheme struct + Bg Color + Border Color + Current Color + CurrentMatch Color + Cursor Color + DarkBg Color + Fg Color + Gutter Color + Header Color + Info Color + Match Color + PreviewBg Color + PreviewFg Color + Prompt Color + Selected Color + Spinner Color + func EmptyTheme() *ColorTheme + type Event struct + Char rune + MouseEvent *MouseEvent + Type int + type FillReturn int + const FillContinue + const FillNextLine + const FillSuspend + type FullscreenRenderer struct + func (r *FullscreenRenderer) Clear() + func (r *FullscreenRenderer) Close() + func (r *FullscreenRenderer) DoesAutoWrap() bool + func (r *FullscreenRenderer) GetChar() Event + func (r *FullscreenRenderer) Init() + func (r *FullscreenRenderer) MaxX() int + func (r *FullscreenRenderer) MaxY() int + func (r *FullscreenRenderer) NewWindow(top int, left int, width int, height int, preview bool, ...) Window + func (r *FullscreenRenderer) Pause(bool) + func (r *FullscreenRenderer) Pause(clear bool) + func (r *FullscreenRenderer) Refresh() + func (r *FullscreenRenderer) RefreshWindows(windows []Window) + func (r *FullscreenRenderer) Resume(bool) + func (r *FullscreenRenderer) Resume(clear bool) + type LightRenderer struct + func (r *LightRenderer) Clear() + func (r *LightRenderer) Close() + func (r *LightRenderer) DoesAutoWrap() bool + func (r *LightRenderer) GetChar() Event + func (r *LightRenderer) Init() + func (r *LightRenderer) MaxX() int + func (r *LightRenderer) MaxY() int + func (r *LightRenderer) NewWindow(top int, left int, width int, height int, preview bool, ...) Window + func (r *LightRenderer) Pause(clear bool) + func (r *LightRenderer) Refresh() + func (r *LightRenderer) RefreshWindows(windows []Window) + func (r *LightRenderer) Resume(clear bool) + type LightWindow struct + func (w *LightWindow) CFill(fg Color, bg Color, attr Attr, text string) FillReturn + func (w *LightWindow) CPrint(pair ColorPair, attr Attr, text string) + func (w *LightWindow) Close() + func (w *LightWindow) Enclose(y int, x int) bool + func (w *LightWindow) Erase() + func (w *LightWindow) Fill(text string) FillReturn + func (w *LightWindow) FinishFill() + func (w *LightWindow) Height() int + func (w *LightWindow) Left() int + func (w *LightWindow) Move(y int, x int) + func (w *LightWindow) MoveAndClear(y int, x int) + func (w *LightWindow) Print(text string) + func (w *LightWindow) Refresh() + func (w *LightWindow) Top() int + func (w *LightWindow) Width() int + func (w *LightWindow) X() int + func (w *LightWindow) Y() int + type MouseEvent struct + Double bool + Down bool + Left bool + Mod bool + S int + X int + Y int + type Renderer interface + Clear func() + Close func() + DoesAutoWrap func() bool + GetChar func() Event + Init func() + MaxX func() int + MaxY func() int + NewWindow func(top int, left int, width int, height int, preview bool, ...) Window + Pause func(clear bool) + Refresh func() + RefreshWindows func(windows []Window) + Resume func(clear bool) + func NewFullscreenRenderer(theme *ColorTheme, forceBlack bool, mouse bool) Renderer + func NewLightRenderer(theme *ColorTheme, forceBlack bool, mouse bool, tabstop int, clearOnExit bool, ...) Renderer + type TcellWindow struct — windows/amd64 + func (w *TcellWindow) CFill(fg Color, bg Color, a Attr, str string) FillReturn + func (w *TcellWindow) CPrint(pair ColorPair, attr Attr, text string) + func (w *TcellWindow) Close() + func (w *TcellWindow) Enclose(y int, x int) bool + func (w *TcellWindow) Erase() + func (w *TcellWindow) Fill(str string) FillReturn + func (w *TcellWindow) FinishFill() + func (w *TcellWindow) Height() int + func (w *TcellWindow) Left() int + func (w *TcellWindow) Move(y int, x int) + func (w *TcellWindow) MoveAndClear(y int, x int) + func (w *TcellWindow) Print(text string) + func (w *TcellWindow) Refresh() + func (w *TcellWindow) Top() int + func (w *TcellWindow) Width() int + func (w *TcellWindow) X() int + func (w *TcellWindow) Y() int + type Window interface + CFill func(fg Color, bg Color, attr Attr, text string) FillReturn + CPrint func(color ColorPair, attr Attr, text string) + Close func() + Enclose func(y int, x int) bool + Erase func() + Fill func(text string) FillReturn + FinishFill func() + Height func() int + Left func() int + Move func(y int, x int) + MoveAndClear func(y int, x int) + Print func(text string) + Refresh func() + Top func() int + Width func() int + X func() int + Y func() int