tui

package
v0.0.0-...-a8b77de Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModel

func NewModel(renderer *lipgloss.Renderer, generator *generator.Generator) (tea.Model, error)

Types

type ConfirmActionType

type ConfirmActionType int
const (
	RenameAction ConfirmActionType = iota
	DeleteAction
	QuitAction
	GoBackAction
	NoAction
	PermanentDeleteAction
	EditMessageAction
	DeleteMessageAction
	NewJoinCodeAction
	KickMemberAction
	ShowQRCodeAction
	RoomInviteAction
	RoomExpiredAction
	FileExplorerAction

	ModalWidth  = 60
	ModalHeight = 9
)

type CursorTickMsg

type CursorTickMsg struct{}

type DelayCompleteMsg

type DelayCompleteMsg struct{}

type FAQ

type FAQ struct {
	Question string `json:"question"`
	Answer   string `json:"answer"`
}

func LoadFaqs

func LoadFaqs() []FAQ

type Metadata

type Metadata struct {
	// contains filtered or unexported fields
}

func GetMetadata

func GetMetadata(filepath string, metadatafocused bool, et *exiftool.Exiftool) Metadata

func NewMetadata

func NewMetadata(data [][2]string, filepath string, infoMsg string) Metadata

func (Metadata) GetData

func (m Metadata) GetData() [][2]string

func (Metadata) GetPath

func (m Metadata) GetPath() string

func (Metadata) GetValue

func (m Metadata) GetValue(key string) (string, error)

type UserSignedInMsg

type UserSignedInMsg struct {
	// contains filtered or unexported fields
}

type WaifuOption

type WaifuOption struct {
	ID          int    `json:"id"`
	Title       string `json:"title"`
	Description string `json:"description"`
}

func LoadWaifus

func LoadWaifus() []WaifuOption

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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