Versions in this module Expand all Collapse all v0 v0.0.420 Apr 21, 2023 Changes in this version + type Config struct + CopySavePath bool + FilterPrefix string + Height int + LoadingString string + RequestInput bool + SelectionEnabled bool + ViewportConditionalStyle map[string]lipgloss.Style + Width int + WrapText bool + type Model struct + func New(c Config) Model + func (m *Model) AppendToViewport(rows []Row, startOnNewLine bool) + func (m *Model) HideToast() + func (m *Model) ScrollViewportToBottom() + func (m *Model) SetAllPageData(allPageData []Row) + func (m *Model) SetDoesNeedNewInput() + func (m *Model) SetFilterPrefix(prefix string) + func (m *Model) SetHeader(header []string) + func (m *Model) SetInputPrefix(p string) + func (m *Model) SetLoading(isLoading bool) + func (m *Model) SetViewportPromptVisible(v bool) + func (m *Model) SetViewportSelectionEnabled(v bool) + func (m *Model) SetViewportSelectionToBottom() + func (m *Model) SetViewportStyle(headerStyle, contentStyle lipgloss.Style) + func (m *Model) SetViewportXOffset(n int) + func (m *Model) SetWindowSize(width, height int) + func (m Model) EnteringInput() bool + func (m Model) FilterApplied() bool + func (m Model) FilterFocused() bool + func (m Model) GetSelectedPageRow() (Row, error) + func (m Model) Loading() bool + func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) + func (m Model) View() string + func (m Model) ViewportHeight() int + func (m Model) ViewportSaving() bool + func (m Model) ViewportSelectionAtBottom() bool + type Row struct + Key string + Row string + func (r Row) String() string