_query_version
Return the raw tmux -V version token, letter suffix intact.
Source and package
- Qualified name
-
libtmux.common ._query _version - Module
- libtmux.common
- Package
- libtmux
- Source
- src/libtmux/common.py
-
Description#
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
-
-
_Tmux
Version – tmux predates theUnavailable -Vflag; callers apply_no_version_flag_fallback. -
Version
Too – tmux reported another error onLow -V.
-