tui

package
v0.0.2-beta Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(repoRoot string) error

Run instantiates and runs the Bubble Tea program.

Types

type Theme

type Theme struct {
	AddColor     string `json:"addColor"`     // e.g. "34" or "#22c55e"
	DelColor     string `json:"delColor"`     // e.g. "196" or "#ef4444"
	MetaColor    string `json:"metaColor"`    // optional, currently unused
	DividerColor string `json:"dividerColor"` // e.g. "240"
}

Theme defines customizable colors for rendering.

func (Theme) AddText

func (t Theme) AddText(s string) string

func (Theme) DelText

func (t Theme) DelText(s string) string

func (Theme) DividerText

func (t Theme) DividerText(s string) string

Jump to

Keyboard shortcuts

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