ui

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func InitStyles

func InitStyles()

func InitialModel

func InitialModel() model

func LimitString

func LimitString(s string, limit int) string

Types

type BackgroundWrapper

type BackgroundWrapper struct {
	RenderedView string
}

func (BackgroundWrapper) Init

func (m BackgroundWrapper) Init() tea.Cmd

func (BackgroundWrapper) Update

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

func (BackgroundWrapper) View

func (m BackgroundWrapper) View() string

type ContentModel

type ContentModel struct {
	Content string
}

func (ContentModel) Init

func (m ContentModel) Init() tea.Cmd

func (ContentModel) Update

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

func (ContentModel) View

func (m ContentModel) View() string

type HelpModel

type HelpModel struct {
	Width  int
	Height int
}

func NewHelpModel

func NewHelpModel() HelpModel

func (HelpModel) Init

func (m HelpModel) Init() tea.Cmd

func (HelpModel) Update

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

func (HelpModel) View

func (m HelpModel) View() string

type SetDBusMsg

type SetDBusMsg struct {
	Instance *integration.Instance
}

type SetDiscordMsg

type SetDiscordMsg struct {
	Instance *integration.DiscordInstance
}

type Styles

type Styles struct {
	Subtle    lipgloss.AdaptiveColor
	Highlight lipgloss.AdaptiveColor
	Special   lipgloss.AdaptiveColor
}
var Theme Styles

Jump to

Keyboard shortcuts

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