Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

function libtmux-ts latest

assertSupportedTmux

Refuse a version report below MINIMUM_TMUX.

Source and package
Qualified name
assertSupportedTmux
Module
common
Package
libtmux
Source
packages/libtmux/src/common.ts
function assertSupportedTmux(version: string): void

Description#

Reports rank as tmux ranks them: 3.3 is below 3.3a, and a development build ranks below the release it names, so next-3.4 passes and 3.3a-rc does not. A report libtmux cannot place, such as master, is refused.

Examples#

assertSupportedTmux("3.3a");
assertSupportedTmux("next-3.9");
Parameters
Raises
Esc

Type to search.

Reference previewOpen reference