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.

Go API

method libtmux-go latest

Pane.Session

Session returns this view's parent record when it remains in the same snapshot. It never queries tmux.

Source and package
Qualified name
tmux.Pane.Session
Package
tmux
Declared in
Pane
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/model.go
Other languages
Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScriptRust Java C#C++ Swift Kotlin Scala OCaml F# Clojure
func (p Pane) Session() (Session, bool)

In other ports#

The session containing a pane

Equivalents of The session containing a pane in other languages
Language Equivalent
Python libtmux.Pane.session
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript pane.Pane.session
Rust pane.Pane.session
Java no equivalent on Pane
C# LibTmux.Pane.Session
C++ libtmux::Pane::session
Swift no equivalent on Pane
OCaml A pane belongs to a global window that can have several session placements. Traverse Window.links and Window_link.session.
Perl A physical pane’s window can be linked into several sessions; choose an explicit WindowLink context.

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