Documentation ¶
Index ¶
- type Config
- type Model
- func (m *Model) AppendToViewport(rows []Row, startOnNewLine bool)
- func (m Model) EnteringInput() bool
- func (m Model) FilterApplied() bool
- func (m Model) FilterFocused() bool
- func (m Model) GetSelectedPageRow() (Row, error)
- func (m *Model) HideToast()
- func (m Model) Loading() bool
- func (m *Model) ResetContextFilter()
- func (m *Model) ScrollViewportToBottom()
- func (m *Model) SetAllPageRows(allPageRows []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) SetToast(toast toast.Model, style lipgloss.Style)
- func (m *Model) SetViewportPromptVisible(v bool)
- func (m *Model) SetViewportSelectionEnabled(v bool)
- func (m *Model) SetViewportSelectionToBottom()
- func (m *Model) SetViewportSelectionToTop()
- func (m *Model) SetViewportStyle(headerStyle, contentStyle lipgloss.Style)
- func (m *Model) SetViewportXOffset(n int)
- func (m *Model) SetWindowSize(width, height int)
- func (m *Model) ToggleCompact()
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { // if FilterWithContext is true, filtering doesn't remove rows, just highlights the matching text // and makes it so you can cycle through matches FilterWithContext bool // contains filtered or unexported fields }
func (*Model) AppendToViewport ¶ added in v0.2.0
func (Model) EnteringInput ¶ added in v0.2.0
func (Model) FilterApplied ¶
func (Model) FilterFocused ¶
func (Model) GetSelectedPageRow ¶
func (*Model) ResetContextFilter ¶ added in v0.13.0
func (m *Model) ResetContextFilter()
func (*Model) ScrollViewportToBottom ¶ added in v0.2.0
func (m *Model) ScrollViewportToBottom()
func (*Model) SetAllPageRows ¶ added in v0.13.0
func (*Model) SetDoesNeedNewInput ¶ added in v0.2.0
func (m *Model) SetDoesNeedNewInput()
func (*Model) SetFilterPrefix ¶
func (*Model) SetInputPrefix ¶ added in v0.2.0
func (*Model) SetLoading ¶
func (*Model) SetViewportPromptVisible ¶ added in v0.2.0
func (*Model) SetViewportSelectionEnabled ¶ added in v0.3.1
func (*Model) SetViewportSelectionToBottom ¶
func (m *Model) SetViewportSelectionToBottom()
func (*Model) SetViewportSelectionToTop ¶ added in v1.1.0
func (m *Model) SetViewportSelectionToTop()
func (*Model) SetViewportStyle ¶
func (*Model) SetViewportXOffset ¶
func (*Model) SetWindowSize ¶
func (*Model) ToggleCompact ¶ added in v0.10.0
func (m *Model) ToggleCompact()
func (Model) ViewportHeight ¶ added in v0.2.0
func (Model) ViewportSaving ¶
func (Model) ViewportSelectionAtBottom ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.