Versions in this module Expand all Collapse all v0 v0.10.3 Feb 7, 2022 Changes in this version + func Sync(m Model) tea.Cmd + func ViewDown(m Model, lines []string) tea.Cmd + func ViewUp(m Model, lines []string) tea.Cmd + type KeyMap struct + Down key.Binding + HalfPageDown key.Binding + HalfPageUp key.Binding + PageDown key.Binding + PageUp key.Binding + Up key.Binding + func DefaultKeyMap() KeyMap + type Model struct + Height int + HighPerformanceRendering bool + KeyMap KeyMap + MouseWheelDelta int + MouseWheelEnabled bool + Style lipgloss.Style + Width int + YOffset int + YPosition int + func New(width, height int) (m Model) + func (m *Model) GotoBottom() (lines []string) + func (m *Model) GotoTop() (lines []string) + func (m *Model) HalfViewDown() (lines []string) + func (m *Model) HalfViewUp() (lines []string) + func (m *Model) LineDown(n int) (lines []string) + func (m *Model) LineUp(n int) (lines []string) + func (m *Model) SetContent(s string) + func (m *Model) SetYOffset(n int) + func (m *Model) ViewDown() []string + func (m *Model) ViewUp() []string + func (m Model) AtBottom() bool + func (m Model) AtTop() bool + func (m Model) Init() tea.Cmd + func (m Model) PastBottom() bool + func (m Model) ScrollPercent() float64 + func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) + func (m Model) View() string