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.]] expected<Connection, ProtocolError > control_with_options(std::string session, Connection_view Options 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.- Parameters