tui

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package tui implements `a-novel run ui` — the daemon-backed terminal UI. Built on Bubble Tea + Lip Gloss; every action routes through the same RPC client the CLI uses, so the UI and CLI are always observably consistent.

First-cut layout (this chunk):

┌──────────────┬──────────────────────────────────────────────────┐
│ Services     │ Tabs: [t1] [t2] [t3]                             │
│              │ ┌──────────────────────────────────────────────┐ │
│ ● svc-X 2/4  │ │ <target detail header>                       │ │
│ ○ svc-Y 0/4  │ │ ────────────────────────────────────────── │ │
│              │ │ <log lines, follow-end>                      │ │
│              │ │                                              │ │
│              │ └──────────────────────────────────────────────┘ │
│              │ <footer hint>                          [Esc] cmd │
└──────────────┴──────────────────────────────────────────────────┘

Three-layer palette — first cut implements layers 1 (footer hint) and 3 (dedicated :help screen). Layer 2 (Esc autocomplete palette) is a phase-13 polish addition; basic Esc opens a single-line command input for now.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() error

Run launches the TUI in the alt-screen and blocks until the user quits. Returns nil on clean exit, error on unrecoverable failure (typically: daemon unreachable).

Types

This section is empty.

Jump to

Keyboard shortcuts

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