ui

package
v0.0.0-...-cc1bf0f Latest Latest
Warning

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

Go to latest
Published: May 16, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderUI

func RenderUI(cmd []string, config types.Config) error

func RightPadTrim

func RightPadTrim(s string, length int) string

Types

type CmdRanMsg

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

type CmdRunChosenMsg

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

type DelayTimeElapsedMsg

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

type HideHelpMsg

type HideHelpMsg struct{}

type Model

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

func InitialModel

func InitialModel(cmd []string, config types.Config) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() string

type Pane

type Pane uint

Jump to

Keyboard shortcuts

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