Documentation
ΒΆ
Index ΒΆ
- Variables
- type Alignment
- type App
- type BatchMsg
- type BlurMsg
- type Buffer
- func (b *Buffer) Area() Rect
- func (b *Buffer) CellAt(position Position) *Cell
- func (b *Buffer) Diff(other *Buffer) []PositionedCell
- func (b *Buffer) PosOf(index int) Position
- func (b *Buffer) Reset()
- func (b *Buffer) Resize(area Rect)
- func (b *Buffer) SetString(x, y int, value string, style Style)
- func (b *Buffer) SetStringN(x, y int, value string, maxWidth int, style Style) (int, int)
- func (b *Buffer) SetStyle(area Rect, style Style)
- type Cell
- type Cmd
- type Color
- type CompletedFrame
- type Constraint
- type ConstraintFill
- type ConstraintLen
- type ConstraintMax
- type ConstraintMin
- type ConstraintPercentage
- type ConstraintRatio
- type DefaultBackend
- func (d *DefaultBackend) ClearAfterCursor() error
- func (d *DefaultBackend) ClearAll() error
- func (d *DefaultBackend) ClearBeforeCursor() error
- func (d *DefaultBackend) ClearCurrentLine() error
- func (d *DefaultBackend) ClearUntilNewLine() error
- func (d *DefaultBackend) DisableBracketedPaste() error
- func (d *DefaultBackend) DisableRawMode() error
- func (d *DefaultBackend) Draw(cells []PositionedCell) error
- func (d *DefaultBackend) EnableAlternateScreen() error
- func (d *DefaultBackend) EnableBracketedPaste() error
- func (d *DefaultBackend) EnableRawMode() error
- func (d *DefaultBackend) Flush() error
- func (d *DefaultBackend) GetCursorPosition() (Position, error)
- func (d *DefaultBackend) GetSize() (Size, bool, error)
- func (d *DefaultBackend) HideCursor() error
- func (d *DefaultBackend) Input() io.Reader
- func (d *DefaultBackend) LeaveAlternateScreen() error
- func (d *DefaultBackend) Output() io.Writer
- func (d *DefaultBackend) Read(p []byte) (n int, err error)
- func (d *DefaultBackend) SetCursorPosition(position Position) error
- func (d *DefaultBackend) ShowCursor() error
- type Direction
- type Flex
- type FocusMsg
- type Frame
- type Key
- type KeyMsg
- type KeyType
- type Layout
- func (l Layout) Horizontal() Layout
- func (l Layout) Split(area Rect) Splitted
- func (l Layout) SplitWithSpacers(area Rect) (segments, spacers Splitted)
- func (l Layout) Vertical() Layout
- func (l Layout) WithConstraints(constraints ...Constraint) Layout
- func (l Layout) WithDirection(direction Direction) Layout
- func (l Layout) WithFlex(flex Flex) Layout
- func (l Layout) WithPadding(padding Padding) Layout
- func (l Layout) WithSpacing(spacing Spacing) Layout
- type Model
- type Modifier
- type MouseAction
- type MouseButton
- type MouseEvent
- type MouseMsg
- type Msg
- type Padding
- type Position
- type PositionedCell
- type QuitMsg
- type Rect
- func (r Rect) Area() int
- func (r Rect) Bottom() int
- func (r Rect) Columns() []Rect
- func (r Rect) Contains(position Position) bool
- func (r Rect) IndentX(offset int) Rect
- func (r Rect) Inner(padding Padding) Rect
- func (r Rect) Intersection(other Rect) Rect
- func (r Rect) IsEmpty() bool
- func (r Rect) Left() int
- func (r Rect) Position() Position
- func (r Rect) Positioned(x, y int) Rect
- func (r Rect) Right() int
- func (r Rect) Rows() []Rect
- func (r Rect) Top() int
- type ResetColor
- type Size
- type Spacing
- type SpacingOverlap
- type SpacingSpace
- type Splitted
- type StatefulWidget
- type Style
- func (s Style) Black() Style
- func (s Style) Blue() Style
- func (s Style) Bold() Style
- func (s Style) BrightBlack() Style
- func (s Style) BrightBlue() Style
- func (s Style) BrightCyan() Style
- func (s Style) BrightGreen() Style
- func (s Style) BrightMagenta() Style
- func (s Style) BrightRed() Style
- func (s Style) BrightWhite() Style
- func (s Style) BrightYellow() Style
- func (s Style) CrossedOut() Style
- func (s Style) Cyan() Style
- func (s Style) Dim() Style
- func (s Style) Green() Style
- func (s Style) Italic() Style
- func (s Style) Magenta() Style
- func (s Style) OnBlack() Style
- func (s Style) OnBlue() Style
- func (s Style) OnBrightBlack() Style
- func (s Style) OnBrightBlue() Style
- func (s Style) OnBrightCyan() Style
- func (s Style) OnBrightGreen() Style
- func (s Style) OnBrightMagenta() Style
- func (s Style) OnBrightRed() Style
- func (s Style) OnBrightWhite() Style
- func (s Style) OnBrightYellow() Style
- func (s Style) OnCyan() Style
- func (s Style) OnGreen() Style
- func (s Style) OnMagenta() Style
- func (s Style) OnRGB(r, g, b uint8) Style
- func (s Style) OnRed() Style
- func (s Style) OnWhite() Style
- func (s Style) OnYellow() Style
- func (s Style) Patched(patch Style) Style
- func (s Style) RGB(r, g, b uint8) Style
- func (s Style) Red() Style
- func (s Style) Reversed() Style
- func (s Style) Underlined() Style
- func (s Style) White() Style
- func (s Style) WithBackground(color Color) Style
- func (s Style) WithForeground(color Color) Style
- func (s Style) WithModifier(modifier Modifier) Style
- func (s Style) WithoutModifier(modifier Modifier) Style
- func (s Style) Yellow() Style
- type StyleColor
- type Terminal
- func (t *Terminal) Clear() error
- func (t *Terminal) CurrentBuffer() *Buffer
- func (t *Terminal) DisableBracketedPaste() error
- func (t *Terminal) DisableRawMode() error
- func (t *Terminal) Draw(widget Widget) (CompletedFrame, error)
- func (t *Terminal) EnableAlternateScreen() error
- func (t *Terminal) EnableBracketedPaste() error
- func (t *Terminal) EnableRawMode() error
- func (t *Terminal) Flush() error
- func (t *Terminal) GetFrame() Frame
- func (t *Terminal) HideCursor() error
- func (t *Terminal) Input() io.Reader
- func (t *Terminal) LeaveAlternateScreen() error
- func (t *Terminal) Output() io.Writer
- func (t *Terminal) PreviousBuffer() *Buffer
- func (t *Terminal) Read(p []byte) (n int, err error)
- func (t *Terminal) Resize(area Rect) error
- func (t *Terminal) SetCursorPosition(position Position) error
- func (t *Terminal) ShowCursor() error
- func (t *Terminal) Size() (Size, bool, error)
- func (t *Terminal) SwapBuffers()
- func (t *Terminal) Viewport() Viewport
- type TerminalBackend
- type TryUpdater
- type Viewport
- type ViewportFixed
- type ViewportFullscreen
- type ViewportInline
- type Widget
- type WindowSizeMsg
Constants ΒΆ
This section is empty.
Variables ΒΆ
var ( ErrInterrupted = errors.New("interrupted") ErrKilled = errors.New("killed") )
Functions ΒΆ
This section is empty.
Types ΒΆ
type BlurMsg ΒΆ
type BlurMsg struct{}
BlurMsg represents a terminal blur message. This occurs when the terminal loses focus.
type Buffer ΒΆ
type Buffer struct {
// contains filtered or unexported fields
}
func NewBufferEmpty ΒΆ
func NewBufferFilled ΒΆ
func (*Buffer) Diff ΒΆ
func (b *Buffer) Diff(other *Buffer) []PositionedCell
Diff builds a minimal sequence of coordinates and Cells necessary to update the UI from self to other.
We're assuming that buffers are well-formed, that is no double-width cell is followed by a non-blank cell.
func (*Buffer) SetStringN ΒΆ
SetStringN prints at most the first n characters of a string if enough space is available until the end of the line. Skips zero-width graphemes and control characters.
Use Buffer.SetString when the maximum amount of characters can be printed.
type Cmd ΒΆ
type Cmd func() Msg
func Batch ΒΆ
Batch performs a bunch of commands concurrently with no ordering guarantees about the results. Use a Batch to return several commands.
type CompletedFrame ΒΆ
type CompletedFrame struct {
// contains filtered or unexported fields
}
type Constraint ΒΆ
type ConstraintFill ΒΆ
type ConstraintFill int
func (ConstraintFill) String ΒΆ
func (f ConstraintFill) String() string
type ConstraintLen ΒΆ
type ConstraintLen int
func (ConstraintLen) String ΒΆ
func (l ConstraintLen) String() string
type ConstraintMax ΒΆ
type ConstraintMax int
func (ConstraintMax) String ΒΆ
func (m ConstraintMax) String() string
type ConstraintMin ΒΆ
type ConstraintMin int
func (ConstraintMin) String ΒΆ
func (m ConstraintMin) String() string
type ConstraintPercentage ΒΆ
type ConstraintPercentage int
func (ConstraintPercentage) String ΒΆ
func (p ConstraintPercentage) String() string
type ConstraintRatio ΒΆ
type ConstraintRatio struct{ Num, Den int }
func (ConstraintRatio) String ΒΆ
func (r ConstraintRatio) String() string
type DefaultBackend ΒΆ
type DefaultBackend struct {
// contains filtered or unexported fields
}
func NewDefaultBackend ΒΆ
func NewDefaultBackend(input io.Reader, output io.Writer) DefaultBackend
func (*DefaultBackend) ClearAfterCursor ΒΆ
func (d *DefaultBackend) ClearAfterCursor() error
ClearAfterCursor implements TerminalBackend.
func (*DefaultBackend) ClearAll ΒΆ
func (d *DefaultBackend) ClearAll() error
ClearAll implements TerminalBackend.
func (*DefaultBackend) ClearBeforeCursor ΒΆ
func (d *DefaultBackend) ClearBeforeCursor() error
ClearBeforeCursor implements TerminalBackend.
func (*DefaultBackend) ClearCurrentLine ΒΆ
func (d *DefaultBackend) ClearCurrentLine() error
ClearCurrentLine implements TerminalBackend.
func (*DefaultBackend) ClearUntilNewLine ΒΆ
func (d *DefaultBackend) ClearUntilNewLine() error
ClearUntilNewLine implements TerminalBackend.
func (*DefaultBackend) DisableBracketedPaste ΒΆ
func (d *DefaultBackend) DisableBracketedPaste() error
func (*DefaultBackend) DisableRawMode ΒΆ
func (d *DefaultBackend) DisableRawMode() error
func (*DefaultBackend) Draw ΒΆ
func (d *DefaultBackend) Draw(cells []PositionedCell) error
Draw implements TerminalBackend.
func (*DefaultBackend) EnableAlternateScreen ΒΆ
func (d *DefaultBackend) EnableAlternateScreen() error
func (*DefaultBackend) EnableBracketedPaste ΒΆ
func (d *DefaultBackend) EnableBracketedPaste() error
func (*DefaultBackend) EnableRawMode ΒΆ
func (d *DefaultBackend) EnableRawMode() error
func (*DefaultBackend) Flush ΒΆ
func (d *DefaultBackend) Flush() error
Flush implements TerminalBackend.
func (*DefaultBackend) GetCursorPosition ΒΆ
func (d *DefaultBackend) GetCursorPosition() (Position, error)
GetCursorPosition implements TerminalBackend.
func (*DefaultBackend) GetSize ΒΆ
func (d *DefaultBackend) GetSize() (Size, bool, error)
GetSize implements TerminalBackend.
func (*DefaultBackend) HideCursor ΒΆ
func (d *DefaultBackend) HideCursor() error
HideCursor implements TerminalBackend.
func (*DefaultBackend) Input ΒΆ
func (d *DefaultBackend) Input() io.Reader
func (*DefaultBackend) LeaveAlternateScreen ΒΆ
func (d *DefaultBackend) LeaveAlternateScreen() error
func (*DefaultBackend) Output ΒΆ
func (d *DefaultBackend) Output() io.Writer
func (*DefaultBackend) Read ΒΆ
func (d *DefaultBackend) Read(p []byte) (n int, err error)
Read implements TerminalBackend.
func (*DefaultBackend) SetCursorPosition ΒΆ
func (d *DefaultBackend) SetCursorPosition(position Position) error
SetCursorPosition implements TerminalBackend.
func (*DefaultBackend) ShowCursor ΒΆ
func (d *DefaultBackend) ShowCursor() error
ShowCursor implements TerminalBackend.
type FocusMsg ΒΆ
type FocusMsg struct{}
FocusMsg represents a terminal focus message. This occurs when the terminal gains focus.
type Frame ΒΆ
type Frame struct {
// contains filtered or unexported fields
}
func (*Frame) RenderWidget ΒΆ
type KeyMsg ΒΆ
type KeyMsg Key
KeyMsg contains information about a keypress. KeyMsgs are always sent to the program's update function. There are a couple general patterns you could use to check for keypresses:
// Switch on the string representation of the key (shorter) switch msg := msg.(type) { case KeyMsg: switch msg.String() { case "enter": fmt.Println("you pressed enter!") case "a": fmt.Println("you pressed a!") } } // Switch on the key type (more foolproof) switch msg := msg.(type) { case KeyMsg: switch msg.Type { case KeyEnter: fmt.Println("you pressed enter!") case KeyRunes: switch string(msg.Runes) { case "a": fmt.Println("you pressed a!") } } }
Note that Key.Runes will always contain at least one character, so you can always safely call Key.Runes[0]. In most cases Key.Runes will only contain one character, though certain input method editors (most notably Chinese IMEs) can input multiple runes at once.
type KeyType ΒΆ
type KeyType int
KeyType indicates the key pressed, such as KeyEnter or KeyBreak or KeyCtrlC. All other keys will be type KeyRunes. To get the rune value, check the Rune method on a Key struct, or use the Key.String() method:
k := Key{Type: KeyRunes, Runes: []rune{'a'}, Alt: true} if k.Type == KeyRunes { fmt.Println(k.Runes) // Output: a fmt.Println(k.String()) // Output: alt+a }
const ( KeyNull KeyType = keyNUL KeyBreak KeyType = keyETX KeyEnter KeyType = keyCR KeyBackspace KeyType = keyDEL KeyTab KeyType = keyHT KeyEsc KeyType = keyESC KeyEscape KeyType = keyESC KeyCtrlAt KeyType = keyNUL // ctrl+@ KeyCtrlA KeyType = keySOH KeyCtrlB KeyType = keySTX KeyCtrlC KeyType = keyETX KeyCtrlD KeyType = keyEOT KeyCtrlE KeyType = keyENQ KeyCtrlF KeyType = keyACK KeyCtrlG KeyType = keyBEL KeyCtrlH KeyType = keyBS KeyCtrlI KeyType = keyHT KeyCtrlJ KeyType = keyLF KeyCtrlK KeyType = keyVT KeyCtrlL KeyType = keyFF KeyCtrlM KeyType = keyCR KeyCtrlN KeyType = keySO KeyCtrlO KeyType = keySI KeyCtrlP KeyType = keyDLE KeyCtrlQ KeyType = keyDC1 KeyCtrlR KeyType = keyDC2 KeyCtrlS KeyType = keyDC3 KeyCtrlT KeyType = keyDC4 KeyCtrlU KeyType = keyNAK KeyCtrlV KeyType = keySYN KeyCtrlW KeyType = keyETB KeyCtrlX KeyType = keyCAN KeyCtrlY KeyType = keyEM KeyCtrlZ KeyType = keySUB KeyCtrlOpenBracket KeyType = keyESC // ctrl+[ KeyCtrlBackslash KeyType = keyFS // ctrl+\ KeyCtrlCloseBracket KeyType = keyGS // ctrl+] KeyCtrlCaret KeyType = keyRS // ctrl+^ KeyCtrlUnderscore KeyType = keyUS // ctrl+_ KeyCtrlQuestionMark KeyType = keyDEL // ctrl+? )
Control key aliases.
const ( KeyRunes KeyType = -(iota + 1) KeyUp KeyDown KeyRight KeyLeft KeyShiftTab KeyHome KeyEnd KeyPgUp KeyPgDown KeyCtrlPgUp KeyCtrlPgDown KeyDelete KeyInsert KeySpace KeyCtrlUp KeyCtrlDown KeyCtrlRight KeyCtrlLeft KeyCtrlHome KeyCtrlEnd KeyShiftUp KeyShiftDown KeyShiftRight KeyShiftLeft KeyShiftHome KeyShiftEnd KeyCtrlShiftUp KeyCtrlShiftDown KeyCtrlShiftLeft KeyCtrlShiftRight KeyCtrlShiftHome KeyCtrlShiftEnd KeyF1 KeyF2 KeyF3 KeyF4 KeyF5 KeyF6 KeyF7 KeyF8 KeyF9 KeyF10 KeyF11 KeyF12 KeyF13 KeyF14 KeyF15 KeyF16 KeyF17 KeyF18 KeyF19 KeyF20 )
Other keys.
type Layout ΒΆ
type Layout struct { Direction Direction Constraints []Constraint Padding Padding Flex Flex Spacing Spacing }
func NewLayout ΒΆ
func NewLayout(constraints ...Constraint) Layout
func (Layout) Horizontal ΒΆ
func (Layout) SplitWithSpacers ΒΆ
func (Layout) WithConstraints ΒΆ
func (l Layout) WithConstraints(constraints ...Constraint) Layout
func (Layout) WithDirection ΒΆ
func (Layout) WithPadding ΒΆ
func (Layout) WithSpacing ΒΆ
type Modifier ΒΆ
type Modifier uint16
const ( ModifierNone Modifier = 0b0000_0000_0000 ModifierBold Modifier = 0b0000_0000_0001 ModifierDim Modifier = 0b0000_0000_0010 ModifierItalic Modifier = 0b0000_0000_0100 ModifierUnderlined Modifier = 0b0000_0000_1000 ModifierSlowBlink Modifier = 0b0000_0001_0000 ModifierRapidBlink Modifier = 0b0000_0010_0000 ModifierReversed Modifier = 0b0000_0100_0000 ModifierHidden Modifier = 0b0000_1000_0000 ModifierCrossedOut Modifier = 0b0001_0000_0000 ModifierAll Modifier = ModifierBold | ModifierDim | ModifierItalic | ModifierUnderlined | ModifierSlowBlink | ModifierRapidBlink | ModifierReversed | ModifierHidden | ModifierCrossedOut )
type MouseAction ΒΆ
type MouseAction int
MouseAction represents the action that occurred during a mouse event.
const ( MouseActionPress MouseAction = iota MouseActionRelease MouseActionMotion )
Mouse event actions.
type MouseButton ΒΆ
type MouseButton int
MouseButton represents the button that was pressed during a mouse event.
const ( MouseButtonNone MouseButton = iota MouseButtonLeft MouseButtonMiddle MouseButtonRight MouseButtonWheelUp MouseButtonWheelDown MouseButtonWheelLeft MouseButtonWheelRight MouseButtonBackward MouseButtonForward MouseButton10 MouseButton11 )
Mouse event buttons
This is based on X11 mouse button codes.
1 = left button 2 = middle button (pressing the scroll wheel) 3 = right button 4 = turn scroll wheel up 5 = turn scroll wheel down 6 = push scroll wheel left 7 = push scroll wheel right 8 = 4th button (aka browser backward button) 9 = 5th button (aka browser forward button) 10 11
Other buttons are not supported.
type MouseEvent ΒΆ
type MouseEvent struct { X int Y int Shift bool Alt bool Ctrl bool Action MouseAction Button MouseButton }
MouseEvent represents a mouse event, which could be a click, a scroll wheel movement, a cursor movement, or a combination.
func (MouseEvent) IsWheel ΒΆ
func (m MouseEvent) IsWheel() bool
IsWheel returns true if the mouse event is a wheel event.
func (MouseEvent) String ΒΆ
func (m MouseEvent) String() (s string)
String returns a string representation of a mouse event.
type MouseMsg ΒΆ
type MouseMsg MouseEvent
MouseMsg contains information about a mouse event and are sent to a programs update function when mouse activity occurs. Note that the mouse must first be enabled in order for the mouse events to be received.
type Padding ΒΆ
type Padding struct {
Top, Right, Bottom, Left int
}
func NewPadding ΒΆ
func (Padding) WithBottom ΒΆ
type PositionedCell ΒΆ
type ResetColor ΒΆ
type ResetColor struct{}
func (ResetColor) Sequence ΒΆ
func (ResetColor) Sequence(bg bool) string
Sequence implements termenv.Color.
type SpacingOverlap ΒΆ
type SpacingOverlap int
type SpacingSpace ΒΆ
type SpacingSpace int
type StatefulWidget ΒΆ
type Style ΒΆ
type Style struct {
Foreground, Background StyleColor
// contains filtered or unexported fields
}
func (Style) BrightBlack ΒΆ
func (Style) BrightBlue ΒΆ
func (Style) BrightCyan ΒΆ
func (Style) BrightGreen ΒΆ
func (Style) BrightMagenta ΒΆ
func (Style) BrightWhite ΒΆ
func (Style) BrightYellow ΒΆ
func (Style) CrossedOut ΒΆ
func (Style) OnBrightBlack ΒΆ
func (Style) OnBrightBlue ΒΆ
func (Style) OnBrightCyan ΒΆ
func (Style) OnBrightGreen ΒΆ
func (Style) OnBrightMagenta ΒΆ
func (Style) OnBrightRed ΒΆ
func (Style) OnBrightWhite ΒΆ
func (Style) OnBrightYellow ΒΆ
func (Style) Underlined ΒΆ
func (Style) WithBackground ΒΆ
func (Style) WithForeground ΒΆ
func (Style) WithModifier ΒΆ
func (Style) WithoutModifier ΒΆ
type StyleColor ΒΆ
type StyleColor struct {
// contains filtered or unexported fields
}
func (*StyleColor) Color ΒΆ
func (s *StyleColor) Color() Color
func (*StyleColor) IsSet ΒΆ
func (s *StyleColor) IsSet() bool
func (*StyleColor) Reset ΒΆ
func (s *StyleColor) Reset()
func (*StyleColor) Set ΒΆ
func (s *StyleColor) Set(color Color)
type Terminal ΒΆ
type Terminal struct {
// contains filtered or unexported fields
}
func NewTerminal ΒΆ
func NewTerminal(backend TerminalBackend, viewport Viewport) (*Terminal, error)
func (*Terminal) CurrentBuffer ΒΆ
func (*Terminal) DisableBracketedPaste ΒΆ
func (*Terminal) DisableRawMode ΒΆ
func (*Terminal) EnableAlternateScreen ΒΆ
func (*Terminal) EnableBracketedPaste ΒΆ
func (*Terminal) EnableRawMode ΒΆ
func (*Terminal) Flush ΒΆ
Flush obtains a difference between the previous and the current buffer and passes it to the current backend for drawing.
func (*Terminal) HideCursor ΒΆ
func (*Terminal) LeaveAlternateScreen ΒΆ
func (*Terminal) PreviousBuffer ΒΆ
func (*Terminal) SetCursorPosition ΒΆ
func (*Terminal) ShowCursor ΒΆ
func (*Terminal) SwapBuffers ΒΆ
func (t *Terminal) SwapBuffers()
type TerminalBackend ΒΆ
type TerminalBackend interface { io.Reader Draw(cells []PositionedCell) error HideCursor() error ShowCursor() error GetCursorPosition() (Position, error) SetCursorPosition(position Position) error GetSize() (Size, bool, error) Flush() error ClearAll() error ClearAfterCursor() error ClearBeforeCursor() error ClearCurrentLine() error ClearUntilNewLine() error EnableRawMode() error DisableRawMode() error EnableAlternateScreen() error LeaveAlternateScreen() error EnableBracketedPaste() error DisableBracketedPaste() error Input() io.Reader Output() io.Writer }
type TryUpdater ΒΆ
type TryUpdater interface { // TryUpdate passes message to update the receiver. // It returns a boolean that states whether the message was consumed // and should not be handled further. // If consumed is true the caller should return resulted cmd. // // It is adviced to call this method before any further message handling. TryUpdate(msg Msg) (consumed bool, cmd Cmd) }
type ViewportFixed ΒΆ
type ViewportFixed Rect
type ViewportFullscreen ΒΆ
type ViewportFullscreen struct{}
type ViewportInline ΒΆ
type ViewportInline int
type WindowSizeMsg ΒΆ
type WindowSizeMsg Size
Source Files
ΒΆ
- alignment.go
- app.go
- buffer.go
- cell.go
- cmd.go
- color.go
- constraint.go
- direction.go
- flex.go
- frame.go
- input.go
- inputreader_other.go
- key_other.go
- layout.go
- mouse.go
- padding.go
- position.go
- rect.go
- signals_unix.go
- size.go
- spacing.go
- style.go
- terminal.go
- terminal_backend.go
- terminal_backend_unix.go
- tty.go
- tty_unix.go
- viewport.go
- widget.go