C#
.NET
Drive a real tmux from C#.
LibTmux
Install
$ dotnet add package LibTmuxQuickstart
using LibTmux;
Server server = await Server.ConnectAsync();Session session = await server.CreateSessionAsync(new NewSessionRequest(name: "build"));Window window = await session.CreateWindowAsync(new NewWindowRequest(name: "tests"));Pane pane = (await window.GetPanesAsync())[0];
await pane.SendTextAsync("dotnet test");The README's ConnectAndBuild snippet region, published from a real [Example] method under examples/LibTmux.Examples/Snippets/ and kept in sync by sync_snippets.py --check, which CI runs.
API References
Read on
Topics
Deep dives into one subject at a time, in .NET: architecture, traversal, options and hooks.
Guides
Task-oriented walkthroughs in .NET — install tmux, then the round trip every real program starts from.
Examples
The same concrete tasks worked through in .NET, with each snippet checked by the port's own tests.
Concepts
The domain model every port shares — the object hierarchy, transports and filtering.