Documentation
¶
Overview ¶
Package tui is the full-screen terminal client of the daemon (design/tui.md).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// Theme is a family id, optionally with "-light" or "-dark".
Theme string
// Icons is a glyph set id: "unicode", "nerd" or "ascii".
Icons string
// Computer names the connected computer the client acts on; empty for
// this one.
Computer string
// Conn is the connection to that computer, for how its servers' URLs
// open from here.
Conn *client.Connection
// Local is the client of this computer's daemon when the session
// starts on another computer (--on): the computers, the daemon and the
// agent setup always act here.
Local *client.Client
}
Options are the command's flags.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package act runs terminal UI actions without blocking the UI.
|
Package act runs terminal UI actions without blocking the UI. |
|
Package containers is the terminal UI's containers pane and the right pane for a selected container (design/tui.md "Containers"): the daemon's Docker containers grouped by Compose project, their actions, logs, details, shell and compose jobs.
|
Package containers is the terminal UI's containers pane and the right pane for a selected container (design/tui.md "Containers"): the daemon's Docker containers grouped by Compose project, their actions, logs, details, shell and compose jobs. |
|
Package edit is the terminal UI's config editing (design/tui.md "Forms and dialogs"): `:config` runs the user's editor on the config text and saves it through the API with its revision, and the server, new server and settings forms are overlays over a dimmed screen.
|
Package edit is the terminal UI's config editing (design/tui.md "Forms and dialogs"): `:config` runs the user's editor on the config text and saves it through the API with its revision, and the server, new server and settings forms are overlays over a dimmed screen. |
|
Package form is the terminal UI's form: one field per row with the label left and the value right, as in the dashboard's Settings (design/tui.md "Forms and dialogs").
|
Package form is the terminal UI's form: one field per row with the label left and the value right, as in the dashboard's Settings (design/tui.md "Forms and dialogs"). |
|
Package keymap is the terminal UI's one table of actions: each action has its keys, its command-line name and its help text, so the footer, the help overlay, the command line and the menus are all generated from the same entries (design/tui.md "Keys").
|
Package keymap is the terminal UI's one table of actions: each action has its keys, its command-line name and its help text, so the footer, the help overlay, the command line and the menus are all generated from the same entries (design/tui.md "Keys"). |
|
Package live streams daemon snapshots to the terminal UI.
|
Package live streams daemon snapshots to the terminal UI. |
|
Package overlay draws what the terminal UI shows over its panes: the help overlay, the command line, the menus and toasts, and places them on the screen (design/tui.md "Interaction").
|
Package overlay draws what the terminal UI shows over its panes: the help overlay, the command line, the menus and toasts, and places them on the screen (design/tui.md "Interaction"). |
|
Package ports is the terminal UI's ports pane (design/tui.md "Ports"): the processes listening on TCP ports as the daemon reports them (GET /api/listeners), what each is in the daemon's terms, and killing one or taking its port over for the server it blocks.
|
Package ports is the terminal UI's ports pane (design/tui.md "Ports"): the processes listening on TCP ports as the daemon reports them (GET /api/listeners), what each is in the daemon's terms, and killing one or taking its port over for the server it blocks. |
|
Package remote is the terminal UI's view of the computers around the daemon and of the daemon itself: the Computers overlay (other computers over Tailscale, sharing, forwarded ports) and the switch of the session to another computer, the daemon's details with its upgrade and restart in place, and the coding-agent setup (design/tui.md "Other computers and the daemon").
|
Package remote is the terminal UI's view of the computers around the daemon and of the daemon itself: the Computers overlay (other computers over Tailscale, sharing, forwarded ports) and the switch of the session to another computer, the daemon's details with its upgrade and restart in place, and the coding-agent setup (design/tui.md "Other computers and the daemon"). |
|
Package servers is the terminal UI's servers pane: the grouped list of servers with their state, port, CPU and memory, the filter and the server actions (design/tui.md "Layout", "Keys", "Mouse").
|
Package servers is the terminal UI's servers pane: the grouped list of servers with their state, port, CPU and memory, the filter and the server actions (design/tui.md "Layout", "Keys", "Mouse"). |
|
Package theme holds the terminal UI's colors, glyphs and styles: the dashboard's theme families, generated from its CSS, plus Terminal, which uses the terminal's own ANSI colors.
|
Package theme holds the terminal UI's colors, glyphs and styles: the dashboard's theme families, generated from its CSS, plus Terminal, which uses the terminal's own ANSI colors. |
|
Package ui holds what every part of the terminal UI shares: the environment panes draw and act with, the pane contract and the messages that cross between panes and the root model.
|
Package ui holds what every part of the terminal UI shares: the environment panes draw and act with, the pane contract and the messages that cross between panes and the root model. |
Click to show internal directories.
Click to hide internal directories.