Documentation
¶
Index ¶
- func WithCompatibility(c config.Compatibility) func(*listItem)
- type Model
- func (m *Model) Blur()
- func (m *Model) CursorStartSummary()
- func (m *Model) Focus()
- func (m Model) Focused() bool
- func (m Model) Init() tea.Cmd
- func (m *Model) ResetSummary()
- func (m *Model) SelectEmoji()
- func (m *Model) SelectSummary()
- func (m *Model) SetSummary(str string)
- func (m Model) Summary() string
- func (m *Model) ToggleAmend()
- func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m Model) View() string
- type Styles
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCompatibility ¶
func WithCompatibility(c config.Compatibility) func(*listItem)
Types ¶
type Model ¶
type Model struct {
Expand bool
DefaultHeight int
ExpandHeight int
Placeholder string
Emoji emoji.Emoji
Emojis []emoji.Emoji
Amend bool
// contains filtered or unexported fields
}
func (*Model) CursorStartSummary ¶
func (m *Model) CursorStartSummary()
func (*Model) ResetSummary ¶
func (m *Model) ResetSummary()
func (*Model) SelectEmoji ¶
func (m *Model) SelectEmoji()
func (*Model) SelectSummary ¶
func (m *Model) SelectSummary()
func (*Model) SetSummary ¶
func (*Model) ToggleAmend ¶
func (m *Model) ToggleAmend()
Click to show internal directories.
Click to hide internal directories.