tui

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Overview

Package tui is the client terminal UI

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(c *rpc.Client) error

Types

type Model

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

func New

func New(c *rpc.Client) 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() tea.View

Directories

Path Synopsis
Package components holds the reusable view pieces
Package components holds the reusable view pieces
Package style holds the colours and line helpers
Package style holds the colours and line helpers
Package subscriptions renders subscription blocks and the add prompt
Package subscriptions renders subscription blocks and the add prompt
Package tree lays out subscription and node rows
Package tree lays out subscription and node rows

Jump to

Keyboard shortcuts

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