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_session:select/2

Switch an explicitly named attached client to this registered session, preserving the session environment. Performs I/O. See select/3 for client lookup, environment updates and disconnection races.

Source and package
Qualified name
tmux_session:select/2
Declared in
tmux_session
Package
libtmux_erlang
Source
apps/libtmux_erlang/src/tmux_session.erl
select(Session, Client) -spec select(tmux_model:session(), binary()) -> {ok, map()} | {error, map()}.

Description#

An empty client name cannot select an implicit current client:

Examples#

1> tmux_session:select(invalid_session, <<>>).
{error,#{code => invalid_client,path => [client]}}
Parameters

Guides#

Pages that discuss select/2.

Concepts
Esc

Type to search.

Reference previewOpen reference