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.

method libtmux-cxx latest

Window.linked_sessions

How many sessions hold this window.

Source and package
Qualified name
libtmux::Window::linked_sessions
Namespace
libtmux
Declared in
Window
Package
libtmux-cxx
Source
include/libtmux/entities.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]] long long linked_sessions() const noexcept;

Description#

More than one means the same window is shown in several places, and a command aimed at a bare id could land on any of them — which is why targets here are qualified.

Esc

Type to search.

Reference previewOpen reference