tmux_window_link:get/3
Read a current membership at the explicit session ID and index. The returned native row carries its registered owner and a new observation identity. Returns target_gone if the session or index is absent. This read does not make later actions atomic and does not refresh previously captured links.
Source and package
- Qualified name
-
tmux_window _link: get/3 - Declared in
tmux_window_link- Package
- libtmux_erlang
- Source
- apps/libtmux_erlang/src/tmux_window_link.erl
- get(Server, SessionId, Index) -spec get(tmux
_server: (), tmuxt _model: (), index()) -> {ok, tmuxsession _id _model: ()} | {error, map()}.window _link -
Description#
Invalid indexes are rejected before I/O:
Examples#
1> tmux_window_link:get(invalid_server, <<"$0">>, -1).{error,#{code => invalid_option,path => [index]}}- Parameters
-
-
Server(tmux_server: ()) #t
-
tmux command#
The tmux commands behind get/3.
list-windows -t session scope, cmd_list_windows_exec tmux C API#
The C declarations in tmux that implement these commands.
Guides#
Pages that discuss get/3.
- Concepts