Core LibraryAPI Reference

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.

C# API

method libtmux-dotnet latest

Server.Chain

Namespace LibTmux.Server.Chain LibTmux

Begins a chain that runs its commands in one tmux invocation.

View as Markdown

Source and package
Module
LibTmux
Declared in
Server
Package
LibTmux
Source
src/LibTmux/Server.Chaining.cs
Other languages
Python Ruby Lua TypeScript Rust Go JavaC++ Swift Kotlin Scala F#
Chain ( ) → TmuxChain
method [source]

Description#

This is the batched counterpart to the one-shot methods. Which one is in use is visible where the call starts rather than in an option, and nothing runs until the chain is executed.

Returns

An empty chain bound to this server.

Raises

Discussed in Control mode vs one-shot

In other ports Run several commands in one tmux invocation
  • Python no equivalent on Server
  • Ruby No source-verified Ruby equivalent is recorded for this operation.
  • Lua No source-verified Lua equivalent is recorded for this operation.
  • TypeScript no equivalent on Server
  • Rust server.Server.chain
  • Go no equivalent on Server
  • Java io.github.libtmux.Server.chain
  • C++ libtmux::Server::run_chain
  • Swift no equivalent on Server
  • Kotlin No source-verified Kotlin equivalent is recorded for this operation.
  • Scala No source-verified Scala equivalent is recorded for this operation.
  • F# No source-verified F# equivalent is recorded for this operation.
Esc

Type to search.