Versions in this module Expand all Collapse all v0 v0.2.1 Dec 3, 2023 Changes in this version + type Column struct + Title string + Width int + type KeyMap struct + GotoBottom key.Binding + GotoTop key.Binding + HalfPageDown key.Binding + HalfPageUp key.Binding + LineDown key.Binding + LineUp key.Binding + PageDown key.Binding + PageUp key.Binding + func DefaultKeyMap() KeyMap + type Model struct + KeyMap KeyMap + func New(opts ...Option) Model + func (m *Model) Blur() + func (m *Model) Focus() + func (m *Model) FromValues(value, separator string) + func (m *Model) GotoBottom() + func (m *Model) GotoTop() + func (m *Model) MoveDown(n int) + func (m *Model) MoveUp(n int) + func (m *Model) SetColumns(c []Column) + func (m *Model) SetCursor(n int) + func (m *Model) SetHeight(h int) + func (m *Model) SetRows(r []Row) + func (m *Model) SetStyles(s Styles) + func (m *Model) SetWidth(w int) + func (m *Model) SetYOffset(n int) + func (m *Model) UpdateViewport() + func (m *Model) YOffset() int + func (m Model) Cursor() int + func (m Model) Focused() bool + func (m Model) Height() int + func (m Model) Rows() []Row + func (m Model) SelectedRow() Row + func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) + func (m Model) View() string + func (m Model) Width() int + type Option func(*Model) + func WithColumns(cols []Column) Option + func WithFocused(f bool) Option + func WithHeight(h int) Option + func WithKeyMap(km KeyMap) Option + func WithRows(rows []Row) Option + func WithStyles(s Styles) Option + func WithWidth(w int) Option + type Row []string + type Styles struct + Cell lipgloss.Style + Header lipgloss.Style + Selected lipgloss.Style + func DefaultStyles() Styles