pkg/

directory
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: MIT

Directories

Path Synopsis
Package entity defines Ref, the plain-data reference to "a thing the user is looking at" that tuigoff components pass around: the row under a grid's cursor, an entry pinned in a sidebar.
Package entity defines Ref, the plain-data reference to "a thing the user is looking at" that tuigoff components pass around: the row under a grid's cursor, an entry pinned in a sidebar.
Package focus is a small, pure focus-ring state machine shared by every chatshell screen.
Package focus is a small, pure focus-ring state machine shared by every chatshell screen.
Package grid is a product-neutral result grid: a bubble-table-backed table with sort, per-cell column selection, a scrollbar, style presets, and slots for a product's own secondary views (charts, a current-row card, raw responses, ...) and split-pane layout.
Package grid is a product-neutral result grid: a bubble-table-backed table with sort, per-cell column selection, a scrollbar, style presets, and slots for a product's own secondary views (charts, a current-row card, raw responses, ...) and split-pane layout.
Package highlight turns source text into ANSI-styled text using the Chroma lexers and styles, so that YAML, JSON, SQL and friends can be shown in a TextPane or any other widget that renders ANSI.
Package highlight turns source text into ANSI-styled text using the Chroma lexers and styles, so that YAML, JSON, SQL and friends can be shown in a TextPane or any other widget that renders ANSI.
Package mdrender renders Markdown for a terminal card: one glamour-backed implementation, styled from the theme package, so a Markdown message looks identical in every tuigoff app with no glamour import of its own.
Package mdrender renders Markdown for a terminal card: one glamour-backed implementation, styled from the theme package, so a Markdown message looks identical in every tuigoff app with no glamour import of its own.
nav
Package nav is the navigation shell of tuigoff: one Bubble Tea model that lays out a header with breadcrumbs, a menu panel, a content panel and an actions bar, routes keys, mouse events and messages to the screens it hosts, keeps a stack of pages, and shows alerts.
Package nav is the navigation shell of tuigoff: one Bubble Tea model that lays out a header with breadcrumbs, a menu panel, a content panel and an actions bar, routes keys, mouse events and messages to the screens it hosts, keeps a stack of pages, and shows alerts.
navtest
Package navtest drives a nav.Model without a terminal, so screens can be tested by pressing keys and reading what would be on screen.
Package navtest drives a nav.Model without a terminal, so screens can be tested by pressing keys and reading what would be on screen.
Package sidebar is the right-hand working-context panel shared by tuigoff apps: an ordered list of entity.Ref, rendered by a product-supplied renderer, with a cursor, remove ("x"/Delete), open (Enter) and a resizable split width — generalised from DataTug chat's F6 workspace dock and Ctrl+←/→ split handling (ui.go splitEnabled/ resizeChatPane, workspace_ui.go).
Package sidebar is the right-hand working-context panel shared by tuigoff apps: an ordered list of entity.Ref, rendered by a product-supplied renderer, with a cursor, remove ("x"/Delete), open (Enter) and a resizable split width — generalised from DataTug chat's F6 workspace dock and Ctrl+←/→ split handling (ui.go splitEnabled/ resizeChatPane, workspace_ui.go).
Package theme is the shared visual language of Sneat Co., DataTug and FileTug terminal applications: colours, card framing, and chrome (bars, composer frame, panel rows) that every product renders through, so all of them look and behave alike with no styling code of their own.
Package theme is the shared visual language of Sneat Co., DataTug and FileTug terminal applications: colours, card framing, and chrome (bars, composer frame, panel rows) that every product renders through, so all of them look and behave alike with no styling code of their own.
Package transcript renders the scrolling chat history shared by every tuigoff app: plain user/assistant messages, streamed assistant text and rich Block entries (e.g.
Package transcript renders the scrolling chat history shared by every tuigoff app: plain user/assistant messages, streamed assistant text and rich Block entries (e.g.
Package uitest holds the TTY-free helpers used to test widgets and screens: building key presses from their textual names and reading rendered views as plain text.
Package uitest holds the TTY-free helpers used to test widgets and screens: building key presses from their textual names and reading rendered views as plain text.
Package widgets is the component kit of tuigoff.
Package widgets is the component kit of tuigoff.

Jump to

Keyboard shortcuts

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