Directories
¶
| Path | Synopsis |
|---|---|
|
Package a11y holds small helpers shared by the widgets' Linearize methods.
|
Package a11y holds small helpers shared by the widgets' Linearize methods. |
|
Package announce is the state behind a Program's announcements: the on-screen region that shows recent ones for a few seconds, the de-duplicating queue that feeds the accessible-mode transcript, and the sanitising and OSC 99 notification encoding both share.
|
Package announce is the state behind a Program's announcements: the on-screen region that shows recent ones for a few seconds, the de-duplicating queue that feeds the accessible-mode transcript, and the sanitising and OSC 99 notification encoding both share. |
|
Package archtest holds the module's import-direction rule: imports go down the tiers below, never up.
|
Package archtest holds the module's import-direction rule: imports go down the tiers below, never up. |
|
Package basetypes holds the small value types that theme and layout share (the Border), so theme can stay a dependency leaf that does not import layout.
|
Package basetypes holds the small value types that theme and layout share (the Border), so theme can stay a dependency leaf that does not import layout. |
|
Package bidi implements the Unicode Bidirectional Algorithm (UAX #9) for one line of text: it resolves the embedding level of every character and returns the visual order, for display only.
|
Package bidi implements the Unicode Bidirectional Algorithm (UAX #9) for one line of text: it resolves the embedding level of every character and returns the visual order, for display only. |
|
Package braille is the dot-cell drawing shared by the arc and line charts (widgets/chart) and the progress circle (widgets): the 2x4 braille dot encoding, its ASCII shade fallback, and the annulus fill behind Gauge and ProgressCircle.
|
Package braille is the dot-cell drawing shared by the arc and line charts (widgets/chart) and the progress circle (widgets): the 2x4 braille dot encoding, its ASCII shade fallback, and the annulus fill behind Gauge and ProgressCircle. |
|
Package cancelreader is an io.Reader over an *os.File whose blocked Read can be cancelled from another goroutine.
|
Package cancelreader is an io.Reader over an *os.File whose blocked Read can be cancelled from another goroutine. |
|
Package capprobe holds the terminal capability probe's wire format: the queries a Program writes at start-up and the parser that turns the replies into a Result.
|
Package capprobe holds the terminal capability probe's wire format: the queries a Program writes at start-up and the parser that turns the replies into a Result. |
|
Package cellcheck runs a model headless under the cell renderer and reports the frames that fell back to the line renderer, for the example corpus tests (spec S11: the cell renderer's fallback rate on the examples is zero).
|
Package cellcheck runs a model headless under the cell renderer and reports the frames that fell back to the line renderer, for the example corpus tests (spec S11: the cell renderer's fallback rate on the examples is zero). |
|
Package edit is the grapheme- and width-aware text-editing core shared by the input widgets.
|
Package edit is the grapheme- and width-aware text-editing core shared by the input widgets. |
|
Package fsutil is a shared filesystem-listing helper for widgets that browse directories (filepicker, treeview's DirectoryTree builder), so neither duplicates os.ReadDir traversal nor depends on the other.
|
Package fsutil is a shared filesystem-listing helper for widgets that browse directories (filepicker, treeview's DirectoryTree builder), so neither duplicates os.ReadDir traversal nor depends on the other. |
|
Package highlight splits source code into classed spans for a set of languages (Go, JSON, shell, YAML, Python, JavaScript, TypeScript, Rust, C, C++, Java, C#, Kotlin, Swift, PHP, Ruby, Lua, HTML, XML, CSS, diff, Markdown, SQL, TOML, INI, Makefile, Dockerfile).
|
Package highlight splits source code into classed spans for a set of languages (Go, JSON, shell, YAML, Python, JavaScript, TypeScript, Rust, C, C++, Java, C#, Kotlin, Swift, PHP, Ruby, Lua, HTML, XML, CSS, diff, Markdown, SQL, TOML, INI, Makefile, Dockerfile). |
|
Package isolation holds the module-wide copy-isolation sweep: for every stateful widget Model it snapshots a value copy, drives Update on the original, and asserts the snapshot did not change.
|
Package isolation holds the module-wide copy-isolation sweep: for every stateful widget Model it snapshots a value copy, drives Update on the original, and asserts the snapshot did not change. |
|
Package ptytest opens pseudo-terminals for tests, using /dev/ptmx and the pty ioctls directly (no dependencies).
|
Package ptytest opens pseudo-terminals for tests, using /dev/ptmx and the pty ioctls directly (no dependencies). |
|
Package render is the cell-diffing renderer behind the root package's default renderer.
|
Package render is the cell-diffing renderer behind the root package's default renderer. |
|
Package termio holds the implementations of tui.Terminal, the runtime's port to the terminal (size query, raw mode, output virtual-terminal processing): OSTerminal for a real terminal and Fake for tests.
|
Package termio holds the implementations of tui.Terminal, the runtime's port to the terminal (size query, raw mode, output virtual-terminal processing): OSTerminal for a real terminal and Fake for tests. |
|
Package testutil holds test helpers shared by the module's packages.
|
Package testutil holds test helpers shared by the module's packages. |
|
tools
|
|
|
apilist
command
Command apilist prints the exported API of every public package in the module, one declaration per entry, so a change to the public surface shows up as a diff.
|
Command apilist prints the exported API of every public package in the module, one declaration per entry, so a change to the public surface shows up as a diff. |
|
benchgate
command
Command benchgate compares two `go test -bench -benchmem` outputs and fails when allocations or bytes per operation grew past a threshold.
|
Command benchgate compares two `go test -bench -benchmem` outputs and fails when allocations or bytes per operation grew past a threshold. |
|
covercheck
command
Command covercheck reads a Go cover profile and fails when any library package has less than 90% statement coverage.
|
Command covercheck reads a Go cover profile and fails when any library package has less than 90% statement coverage. |
|
doccheck
command
Command doccheck lists exported declarations that have no doc comment and exits non-zero if there are any.
|
Command doccheck lists exported declarations that have no doc comment and exits non-zero if there are any. |
|
genbidi
command
Command genbidi generates internal/bidi/tables.go, the Unicode Bidi_Class, bracket and mirroring tables used by the UAX #9 reordering, from a pinned version of the Unicode Character Database.
|
Command genbidi generates internal/bidi/tables.go, the Unicode Bidi_Class, bracket and mirroring tables used by the UAX #9 reordering, from a pinned version of the Unicode Character Database. |
|
gengrapheme
command
Command gengrapheme generates ansi/graphemebreak_tables.go, the extended grapheme cluster break data (UAX #29), from a pinned version of the Unicode Character Database.
|
Command gengrapheme generates ansi/graphemebreak_tables.go, the extended grapheme cluster break data (UAX #29), from a pinned version of the Unicode Character Database. |
|
genwidth
command
Command genwidth generates ansi/runewidth_tables.go, the terminal-column width tables, from a pinned version of the Unicode Character Database.
|
Command genwidth generates ansi/runewidth_tables.go, the terminal-column width tables, from a pinned version of the Unicode Character Database. |
|
Package vtscreen is a small virtual terminal: it applies the escape sequences a Program writes to a grid of cells, so a test can assert on what a user would see.
|
Package vtscreen is a small virtual terminal: it applies the escape sequences a Program writes to a grid of cells, so a test can assert on what a user would see. |
Click to show internal directories.
Click to hide internal directories.