tmux_version
Parse the output of tmux -V without invoking tmux.
Source and package
- Qualified name
-
tmux_version - Package
- libtmux_erlang
- Source
- apps/libtmux_erlang/src/tmux_version.erl
- tmux_version
-
Description#
Support covers tmux 3.3a through 3.8, including intermediate releases. The minimum-version check includes the patch letter; numeric feature comparisons use major/minor components. CI tests the endpoints of the supported range. Use
tmux_server:version/1for the daemon version observed by an endpoint.
Members4#
Common operations1#
- require/1 function Reject a tmux release below the supported floor.
Other members3#
- at_least/2 function Compare numeric major/minor components with a required floor. Patch letters do not promote an older minor release. Performs no I/O.
- parse/1 function Parse bounded tmux -V output into numeric components and patch/tracking metadata. This is pure parsing, not a probe or compatibility qualification.
- t/0 typealias Parsed numeric daemon version plus patch, tracking and original-output metadata.
Guides#
Pages that discuss tmux_version.