Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

class libtmux-dotnet latest

Session

Namespace LibTmux.Session LibTmux

Represents an immutable session handle and snapshot.

View as Markdown

Source and package
Module
LibTmux
Package
LibTmux
Source
src/LibTmux/Session.cs
Other languages
PythonRubyLuaTypeScriptRustGoJavaC++SwiftKotlinScala F#
class LibTmux.Session
class [source]

Description#

Thread-safe: the handle is immutable once constructed and may be shared freely, including as a singleton. Every mutating call answers a new handle rather than changing this one.

Discussed in Ownership and cleanup , Traversal

In other ports A tmux session

Members40 members#

Parent objects1 member#

  • Server property Gets the server that owns this session.

Collections and queries6 members#

  • Windows property Gets the windows the capture found in this session.
  • Panes property Gets the panes the capture found in this session.
  • GetWindowsAsync method Reads this session's windows from tmux.
  • GetPanesAsync method Reads this session's panes from tmux.
  • SearchWindowsAsync method Runs a tmux-side filter over this session's windows.
  • SearchPanesAsync method Runs a tmux-side filter over this session's panes.

Common operations21 members#

Other members12 members#

Esc

Type to search.