libtmux::Server::over_control
C++
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++
- Swift Unavailable
- Module
- libtmux
- Declared in
- Server
- Package
- libtmux-cxx
- Source
- include/libtmux/server.hpp
- over_control ( session : std::string_view , connections : std::size_t = 1 ) expected< Server, ProtocolError >
-
A Server whose commands travel over held-open control clients attached to
session, rather than one launched process each.Only where that gives the same answer. tmux can end a command's guarded block before the command has finished, so a command goes over the wire only if the typed surface issues it and tmux cannot defer it as sent —
split-windowwithout-Ior-W,display-messagewithout-I, the listings, and the other commands in the list inserver.cpp, each checked against tmux'sCMD_RETURN_WAIT. Anything else launches, as it would from this Server: a deferring command, one that acts on the client itself, an alias or an abbreviation this cannot see through. A failure reads as the sameCommandFailurea launch would give.connectionsspreads commands over that many clients. One is enough for most callers — a connection already carries concurrent requests — and each extra client is attached tosessionand shows inclients().A command with no target resolves against the control client's session rather than the most recently used one. The typed surface always names a target; a caller passing raw commands through
runshould too.
0 declared, 0 inherited