Core Library0.xAPI Reference

Choose documentation 1

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.

class libtmux-raku latest

Model.SessionRef

Value-only command target for a session in one daemon incarnation.

Source and package
Qualified name
LibTmux::Model::SessionRef
Module
LibTmux
Declared in
Model
Package
LibTmux
Source
lib/LibTmux/Model.rakumod
Anonymous class

Description#

Value-only command target for a session in one daemon incarnation.

Members16#

Common operations10#

  • new-window method Create a window and return its reported identity without refreshing observations.
  • kill method Destroy the addressed entity; retained observations remain unchanged.
  • rename method Store the exact name; refuse characters or separators the daemon would change.
  • detach-clients method Request detachment of clients in this session; acknowledgement is not client exit.
  • inspect method Acquire a fresh graph and require exactly one observed entity with this ID.
  • next-window method Select the next session window, optionally restricting to activity alerts.
  • previous-window method Select the previous session window, optionally restricting to activity alerts.
  • last-window method Select the session's previous current window.
  • command method A bounded, identity-guarded explicit command. Arguments keep tmux semantics.
  • lock method Ask tmux to lock clients attached to this session.

Other members6#

  • entity method Return the registered entity schema without I/O.
  • environment method Construct a session environment facade without acquiring current values.
  • hooks method Construct a value-only hook facade; its reads and writes are explicit operations.
  • options method Construct a value-only option facade scoped to this captured identity.
  • renumber-windows method Renumber this session's links; previously captured indices may become stale.
  • same-entity method Compare scoped identity without acquiring current state.
Esc

Type to search.

Reference previewOpen reference