Documentation
¶
Index ¶
- type Model
- func (m *Model) Blur()
- func (m Model) Cmd(s string) tea.Cmd
- func (m *Model) Focus()
- func (m *Model) Focused() bool
- func (m Model) Init() tea.Cmd
- func (m *Model) IsDone() bool
- func (m *Model) IsValid() bool
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m *Model) Value() net.IP
- func (m Model) View() string
- type Msg
- type OctetInput
- func (o *OctetInput) Blur()
- func (o OctetInput) Cmd(s string) tea.Cmd
- func (o OctetInput) Done() bool
- func (o OctetInput) Empty() bool
- func (o *OctetInput) Focus()
- func (o *OctetInput) Focused() bool
- func (o OctetInput) Init() tea.Cmd
- func (o OctetInput) IsValid() bool
- func (o OctetInput) Update(msg tea.Msg) (OctetInput, tea.Cmd)
- func (o *OctetInput) Value() uint8
- func (o OctetInput) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type OctetInput ¶
type OctetInput struct {
FocusedForeground lipgloss.Color
// contains filtered or unexported fields
}
func NewOctetInput ¶
func NewOctetInput() OctetInput
func (*OctetInput) Blur ¶
func (o *OctetInput) Blur()
func (OctetInput) Done ¶
func (o OctetInput) Done() bool
func (OctetInput) Empty ¶
func (o OctetInput) Empty() bool
func (*OctetInput) Focus ¶
func (o *OctetInput) Focus()
func (*OctetInput) Focused ¶
func (o *OctetInput) Focused() bool
func (OctetInput) Init ¶
func (o OctetInput) Init() tea.Cmd
func (OctetInput) IsValid ¶
func (o OctetInput) IsValid() bool
func (OctetInput) Update ¶
func (o OctetInput) Update(msg tea.Msg) (OctetInput, tea.Cmd)
func (*OctetInput) Value ¶
func (o *OctetInput) Value() uint8
func (OctetInput) View ¶
func (o OctetInput) View() string
Click to show internal directories.
Click to hide internal directories.