On this page
libtmux.common._query_version
- Module
- libtmux.common
- Package
- libtmux
- Source
- src/libtmux/common.py
-
Return the raw
tmux -Vversion token, letter suffix intact.Runs
tmux -Vand extracts the version token (e.g."3.7a","master","next-3.8"). Not memoized --get_versionandget_version_streach cache their own result on top of this query.- Parameters
- Returns
-
str Raw version token from
tmux -V. - Raises
-
-
_TmuxVersionUnavailable – tmux predates the
-Vflag; callers apply_no_version_flag_fallback. -
VersionTooLow – tmux reported another error on
-V.
-
0 declared, 0 inherited