Core LibraryalphaExamples

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Edit this page on GitHub

Examples

Use these programs to send input, capture output, and build a workspace. Each example page includes its source and test coverage. Check those details before adapting an excerpt into a standalone program.

Source and verification

Port repositories use the following checks for their source examples. This site reads or copies those examples; a successful site build alone does not execute them:

scripts/check-doc-runnable.ts checks that a block tagged with its example source matches that file line for line. The integration suite executes the source program.

See Testing with libtmux for the fixture each of those test suites runs against, and each example page for the exact file a given snippet was quoted from.

Esc

Type to search.

Reference preview Open reference