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.

method libtmux-rs latest

Pane.session_id

Return the session this handle reached the pane through.

Source and package
Qualified name
libtmux::pane::Pane::session_id
Module
pane
Declared in
Pane
Package
libtmux
Source
crates/libtmux/src/pane.rs
Other languages
Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript Go Java C# C++ Swift Kotlin Scala OCaml F# Clojure
#[must_use] pub const fn session_id(&self) -> &SessionId

Description#

A pane reached through a linked window can report a different session depending on which link discovery followed.

In other ports#

The id of the session a pane was reached through

Equivalents of The id of the session a pane was reached through in other languages
Language Equivalent
Python libtmux.Pane.session_id
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript no equivalent on Pane
Go tmux.Pane.SessionID
Java no equivalent on Pane
C# no equivalent on Pane
C++ libtmux::Pane::session_id
Swift no equivalent on Pane
OCaml No direct public OCaml equivalent is recorded for this operation.
Perl Physical panes have no arbitrary session context; obtain the session ID through an explicit WindowLink.

No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference