Core LibraryalphaAPI 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-cxx latest

running_tmux

Resolved once per distinct binary and cached.

Source and package
Qualified name
libtmux::test::running_tmux
Namespace
libtmux::test
Package
libtmux-cxx
Source
include/libtmux/testing/tmux_version.hpp
[[C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.Language documentation]] Version running_tmux( const std::filesystem::path& tmux_binary = "tmux");

Description#

A tmux that cannot be run or whose version cannot be parsed reports as the newest possible version, so version-gated tests run and fail rather than silently skipping.

Parameters
Esc

Type to search.

Reference previewOpen reference