Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
demo
command
Command demo is a complete tuigoff application in the Elm architecture: a menu list, a grid loaded asynchronously, a drill-down page, a tree, a form and highlighted text, all inside the navigation shell.
|
Command demo is a complete tuigoff application in the Elm architecture: a menu list, a grid loaded asynchronously, a drill-down page, a tree, a form and highlighted text, all inside the navigation shell. |
|
pkg
|
|
|
entity
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. |
|
focus
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. |
|
grid
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. |
|
highlight
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. |
|
mdrender
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. |
|
nav/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. |
|
sidebar
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). |
|
theme
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. |
|
transcript
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. |
|
uitest
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. |
|
widgets
Package widgets is the component kit of tuigoff.
|
Package widgets is the component kit of tuigoff. |
Click to show internal directories.
Click to hide internal directories.