tui

package
v0.0.0-...-beb088b Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package tui provides interactive terminal user interfaces for gkit commands. Each command has its own subpackage (e.g., tui/match/) with isolated MVC components.

Index

Constants

This section is empty.

Variables

View Source
var (
	ColorAccentRed    = lipgloss.Color("#FF6B6B")
	ColorAccentTeal   = lipgloss.Color("#4ECDC4")
	ColorAccentYellow = lipgloss.Color("#FFE66D")
	ColorTextNormal   = lipgloss.Color("#CCCCCC")
	ColorTextMuted    = lipgloss.Color("#666666")
	ColorTextSubtle   = lipgloss.Color("#888888")
	ColorTextDim      = lipgloss.Color("#444444")
	ColorTextTree     = lipgloss.Color("#555555")
	ColorBarEmpty     = lipgloss.Color("#333333")
	ColorBackground   = lipgloss.Color("#1A1A2E")
	ColorWhite        = lipgloss.Color("#FFFFFF")
)

Functions

func AdjustOffset

func AdjustOffset(cursor, offset, visibleHeight int) int

func ClampCursor

func ClampCursor(cursor, listLen int) int

func NewBorderedStyle

func NewBorderedStyle(borderColor lipgloss.Color) lipgloss.Style

func NewBorderedStyleWithPadding

func NewBorderedStyleWithPadding(borderColor lipgloss.Color, paddingVertical, paddingHorizontal int) lipgloss.Style

func NewSearchInput

func NewSearchInput(placeholder string) textinput.Model

Types

This section is empty.

Directories

Path Synopsis
Package match provides an interactive TUI for matching git authors.
Package match provides an interactive TUI for matching git authors.
Package owners provides a TUI for visualizing code owners.
Package owners provides a TUI for visualizing code owners.

Jump to

Keyboard shortcuts

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