ui

package
v1.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LoopNone = 0
	LoopAll  = 1
	LoopOne  = 2
)

Variables

This section is empty.

Functions

func InitialModel

func InitialModel() model

func LimitString

func LimitString(s string, limit int) string

Types

type BackgroundWrapper added in v1.5.0

type BackgroundWrapper struct {
	RenderedView string
}

func (BackgroundWrapper) Init added in v1.5.0

func (m BackgroundWrapper) Init() tea.Cmd

func (BackgroundWrapper) Update added in v1.5.0

func (m BackgroundWrapper) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (BackgroundWrapper) View added in v1.5.0

func (m BackgroundWrapper) View() string

type ContentModel added in v1.6.0

type ContentModel struct {
	Content string
}

func (ContentModel) Init added in v1.6.0

func (m ContentModel) Init() tea.Cmd

func (ContentModel) Update added in v1.6.0

func (m ContentModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (ContentModel) View added in v1.6.0

func (m ContentModel) View() string

type HelpModel added in v1.5.0

type HelpModel struct {
	Width  int
	Height int
}

func NewHelpModel added in v1.5.0

func NewHelpModel() HelpModel

func (HelpModel) Init added in v1.5.0

func (m HelpModel) Init() tea.Cmd

func (HelpModel) Update added in v1.5.0

func (m HelpModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (HelpModel) View added in v1.5.0

func (m HelpModel) View() string

type SetDBusMsg added in v1.3.0

type SetDBusMsg struct {
	Instance *integration.Instance
}

type SetDiscordMsg added in v1.5.0

type SetDiscordMsg struct {
	Instance *integration.DiscordInstance
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL