Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

server.Server.version

TypeScript

View as Markdown

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>
methodasync [source]
methodasync [source]
version

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
In other ports Which tmux this server runs

0 declared, 0 inherited

Esc

Type to search.