Skip to contents

Get the version of tmux.

Usage

tmux_version(as_numeric = TRUE)

Arguments

as_numeric

A logical. If TRUE, the version number is returned as a numeric. Default: TRUE.

Value

A numeric or string.

Examples

if (FALSE) {
tmux_version()
tmux_version() >= 2.8
tmux_version(as_numeric = FALSE)
}