Help us shape the future of Go! Take the 2026 Go Developer Survey

tui

package
v0.0.0-...-e116b7e Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package tui implements the Bubble Tea TUI for tmux-orchid.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

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

Model is the top-level Bubble Tea model.

func New

func New(mgr *state.Manager, tc *tmux.Client, keybind string, usePrefix bool) Model

New creates a new TUI model wired to the given state manager and tmux client. The keybind and usePrefix parameters describe the configured tmux keybinding so the status bar can show an accurate hint.

func (Model) Init

func (m Model) Init() tea.Cmd

Init implements tea.Model.

func (Model) Update

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

Update implements tea.Model.

func (Model) View

func (m Model) View() string

View implements tea.Model.

Jump to

Keyboard shortcuts

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