Documentation ¶ Index ¶ func WordWrap(s string, lineLimit uint8) (result []string) type ClearMsg type EchoMsg type Model func (m Model) Init() tea.Cmd func (m *Model) Render() []string func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (m Model) View() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func WordWrap ¶ func WordWrap(s string, lineLimit uint8) (result []string) Types ¶ type ClearMsg ¶ type ClearMsg string type EchoMsg ¶ type EchoMsg struct { Message string Style lipgloss.Style } type Model ¶ type Model struct { Momentum *scroll.Momentum // contains filtered or unexported fields } func (Model) Init ¶ func (m Model) Init() tea.Cmd func (*Model) Render ¶ func (m *Model) Render() []string func (Model) Update ¶ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (Model) View ¶ func (m Model) View() string Source Files ¶ View all Source files model.go view.go wordwrap.go Click to show internal directories. Click to hide internal directories.