Documentation
¶
Index ¶
- type Composer
- func (c Composer) AtEnd() bool
- func (c Composer) AtStart() bool
- func (c *Composer) CurrentPrefixedToken(prefix rune) (string, bool)
- func (c *Composer) HandleKey(msg tea.KeyMsg) bool
- func (c *Composer) HandlePaste(value string)
- func (c Composer) Height() int
- func (c *Composer) InsertNewline()
- func (c Composer) LineCount() int
- func (c *Composer) ReplaceCurrentPrefixedToken(prefix rune, replacement string) bool
- func (c *Composer) Reset()
- func (c *Composer) SetCursorEnd()
- func (c *Composer) SetValue(value string)
- func (c *Composer) SetWidth(width int)
- func (c *Composer) Update(msg tea.Msg) tea.Cmd
- func (c Composer) Value() string
- func (c Composer) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Composer ¶
type Composer struct {
// contains filtered or unexported fields
}
func (*Composer) CurrentPrefixedToken ¶ added in v0.1.20
func (*Composer) HandlePaste ¶ added in v0.1.2
func (*Composer) InsertNewline ¶
func (c *Composer) InsertNewline()
func (*Composer) ReplaceCurrentPrefixedToken ¶ added in v0.1.20
func (*Composer) SetCursorEnd ¶
func (c *Composer) SetCursorEnd()
Click to show internal directories.
Click to hide internal directories.