Documentation ¶ Index ¶ func SyntaxHighlight(command string) string type Model func New() Model func (m Model) Init() tea.Cmd func (m *Model) SetEditing(editing bool) func (m *Model) SetSize(width, height int) 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 SyntaxHighlight ¶ added in v0.0.2 func SyntaxHighlight(command string) string Types ¶ type Model ¶ type Model struct { TextArea textarea.Model // contains filtered or unexported fields } func New ¶ func New() Model func (Model) Init ¶ func (m Model) Init() tea.Cmd func (*Model) SetEditing ¶ added in v0.0.2 func (m *Model) SetEditing(editing bool) func (*Model) SetSize ¶ added in v0.0.2 func (m *Model) SetSize(width, height int) 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 syntax_highlight.gotext_area.go Click to show internal directories. Click to hide internal directories.