Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PlainLogModel ¶
type PlainLogModel struct {
// contains filtered or unexported fields
}
PlainLogModel is a widget that shows multiline text in a viewport.
func NewPlainLogModel ¶
func NewPlainLogModel( text string, windowSize tea.WindowSizeMsg, keyMap keymap.KeyMap, ) (PlainLogModel, tea.Cmd)
NewPlainLogModel initializes a new PlainLogModel with the given text. It updates a widget with the message `tea.WindowSizeMsg`.
func (PlainLogModel) Init ¶
func (m PlainLogModel) Init() tea.Cmd
Init implements team.Model interface.
func (PlainLogModel) View ¶
func (m PlainLogModel) View() string
View implements team.Model interface.
Click to show internal directories.
Click to hide internal directories.