Core LibraryunreleasedAPI Reference

Choose documentation 1

latest

Current version

latest
English

Unreleased libtmux_erlang has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-erlang latest

tmux_window:get/2

Explicitly read a physical window by stable ID. Returns a fresh record or target_gone. Physical windows do not have a universal session or window index.

Source and package
Qualified name
tmux_window:get/2
Declared in
tmux_window
Package
libtmux_erlang
Source
apps/libtmux_erlang/src/tmux_window.erl
Other languages
Perlmethod PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript RustGo Java C#C++ Swift Kotlin Scala OCamlfunction F# Clojure
get(Server, Id) -spec get(tmux_server:t(), tmux_model:window_id()) -> {ok, tmux_model:window()} | {error, map()}.

In other ports#

Look one window up by target

Equivalents of Look one window up by target in other languages
Language Equivalent
Python no equivalent on Server
Ruby LibTmux::Server#window
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript no equivalent on Server
Rust server.Server.window_by_id
Go tmux.Server.Window
Java no equivalent on Server
C# LibTmux.Server.GetWindowAsync
C++ libtmux::Server::window
Swift no equivalent on Server
OCaml Libtmux.Snapshot.find_window Exact opaque-ID lookup in an existing snapshot, without I/O.
Perl LibTmux::Snapshot::window_by_id Resolves physical identity without choosing an arbitrary session placement.

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

Esc

Type to search.

Reference previewOpen reference