tui

package
v0.18.6 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Overview

Package tui implements nt's terminal UI (SPEC §12) with Bubble Tea. The TUI holds its task/note lists as a read-only view (SPEC §6.1): every mutation is a ULID-keyed op applied through the shared mutate.Engine, after which the view reloads from disk. An fsnotify directory watch reloads the view when any other process (a CLI call, an AI session) changes the store.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() error

Run launches the TUI against the global store.

Types

type Model

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

Model is the Bubble Tea 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

Jump to

Keyboard shortcuts

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