Documentation
¶
Index ¶
- type ClosedMsg
- type Model
- func (m Model) Args() []string
- func (m Model) Blur() Model
- func (m *Model) Close()
- func (m Model) Closed() bool
- func (m Model) Command() string
- func (m Model) Cursor() *tea.Cursor
- func (m Model) Focus() Model
- func (m Model) Focused() bool
- func (m Model) Height() int
- func (m Model) ID() int
- func (m Model) Init() tea.Cmd
- func (m Model) PID() int
- func (m *Model) SetHeight(height int)
- func (m *Model) SetWidth(width int)
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) View() string
- func (m Model) Width() int
- type Option
- type OutputMsg
- type TextSelectedMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model embeds a shell in Bubble Tea using x/vt for emulation and xpty for the pseudo-terminal.
type Option ¶
type Option func(*Model)
func WithCommand ¶
func WithInitialHeight ¶
func WithInitialWidth ¶
func WithScrollbackSize ¶ added in v0.4.0
func WithStdErr ¶ added in v0.2.0
type TextSelectedMsg ¶ added in v0.4.0
Only used when mouse motion mode is enabled. See tea.MouseMode.
Click to show internal directories.
Click to hide internal directories.
