Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-cxx latest

Server.control_with_options

The Server supplies the socket and session() supplies the session name; every other connection option is kept, including pane output policy.

Source and package
Qualified name
libtmux::Server::control_with_options
Namespace
libtmux
Declared in
Server
Package
libtmux-cxx
Source
include/libtmux/server.hpp
[[C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.Language documentation]] expected<Connection, ProtocolError> control_with_options(std::string_view session, ConnectionOptions options) const;

Description#

session() matches its exact tmux session name even when it holds a "." or ":", which would otherwise be split as a window or pane target.

Esc

Type to search.

Reference previewOpen reference