Directories
¶
| Path | Synopsis |
|---|---|
|
Package actions demonstrates pkg/action end to end: a screen declares what can be done to the current selection, and the app shell does everything else.
|
Package actions demonstrates pkg/action end to end: a screen declares what can be done to the current selection, and the app shell does everything else. |
|
Package activity demonstrates per-row in-flight state: the spinner and status label a row shows while something is working on it.
|
Package activity demonstrates per-row in-flight state: the spinner and status label a row shows while something is working on it. |
|
Package capture demonstrates streaming a subprocess's output into an on-screen pkg/logview with runner.Capture, next to a command picker, with tab cycling focus between the two.
|
Package capture demonstrates streaming a subprocess's output into an on-screen pkg/logview with runner.Capture, next to a command picker, with tab cycling focus between the two. |
|
Package drilldown demonstrates a master-detail screen with async fetches at both levels, plus a third level via push:
|
Package drilldown demonstrates a master-detail screen with async fetches at both levels, plus a third level via push: |
|
Package filters is a two-filterable-pane screen — the shape that exposes how focus behaves when a component has more than one place to type.
|
Package filters is a two-filterable-pane screen — the shape that exposes how focus behaves when a component has more than one place to type. |
|
Package focus demonstrates a screen with multiple components sharing one keyboard, using pkg/focus to decide which of them has it.
|
Package focus demonstrates a screen with multiple components sharing one keyboard, using pkg/focus to decide which of them has it. |
|
Package loading demonstrates pkg/pane's loading state across a list, a logview, and a tree.
|
Package loading demonstrates pkg/pane's loading state across a list, a logview, and a tree. |
|
Package modals demonstrates the three weights of feedback a screen can give, on one list of operations, so the difference between them is visible side by side rather than across two demos:
|
Package modals demonstrates the three weights of feedback a screen can give, on one list of operations, so the difference between them is visible side by side rather than across two demos: |
|
Package mouse demonstrates the click, double-click, wheel and drag affordances tuilib components expose when the app shell enables mouse input (app.Options.Mouse = app.MouseClick).
|
Package mouse demonstrates the click, double-click, wheel and drag affordances tuilib components expose when the app shell enables mouse input (app.Options.Mouse = app.MouseClick). |
|
Package multiselect demonstrates marking — the multi-selection a user builds with space — on a table.Model, and the action.Set that acts on it.
|
Package multiselect demonstrates marking — the multi-selection a user builds with space — on a table.Model, and the action.Set that acts on it. |
|
Package poll demonstrates pkg/poll driving auto-refresh of a list, with keyed items so the user's cursor survives every refresh even as the underlying set churns.
|
Package poll demonstrates pkg/poll driving auto-refresh of a list, with keyed items so the user's cursor survives every refresh even as the underlying set churns. |
|
Package remote demonstrates the full windowed-source loop: pkg/source coordinating a sparse pkg/table over a real paged HTTP API.
|
Package remote demonstrates the full windowed-source loop: pkg/source coordinating a sparse pkg/table over a real paged HTTP API. |
|
Package runner demonstrates pkg/runner: pick an interactive subprocess from a list, hand the terminal to it, and return to the TUI on exit.
|
Package runner demonstrates pkg/runner: pick an interactive subprocess from a list, hand the terminal to it, and return to the TUI on exit. |
|
Package treeactions demonstrates marking and pkg/action on a tree: a cluster-shaped resource hierarchy where you mark nodes at any depth and run verbs over the selection.
|
Package treeactions demonstrates marking and pkg/action on a tree: a cluster-shaped resource hierarchy where you mark nodes at any depth and run verbs over the selection. |
Click to show internal directories.
Click to hide internal directories.