On this page
server.Server.version
- Module
- server
- Declared in
- Server
- Package
- @libtmux/libtmux
- Source
- packages/libtmux/src/server.ts
- 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; // 3
0 declared, 0 inherited