server.Server.version
TypeScript
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript
- Rust Unavailable
- Go
- Java
- .NET
- C++ Unavailable
- Swift
- Module
- server
- Declared in
- Server
- Package
- libtmux
- Source
- packages/libtmux/src/server.ts
- Other languages
- Python Ruby Lua Rust GoJava.NET C++ Swift
- version ( ) Promise<TmuxVersion>
-
The tmux version this server is running.
The version is probed once per connection and cached with the rest of the server's capabilities, so asking repeatedly costs nothing after the first.
Examples
const version = await server.version();version.major; // 3In other ports Which tmux this server runs
- 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.
- Rust no equivalent on
Server - Go
tmux.Server.Version - Java
io.github.libtmux.Server.Server.version - .NET
LibTmux.Server.Version - C++
Server::tmux_versionasks the executable withtmux -Vwithout reaching a server - Swift
Server.version()
- Python no equivalent on
0 declared, 0 inherited