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_pane:join/3

Move a source pane into a split beside the destination pane. Both physical IDs must belong to the same registered owner and must differ. Geometry follows join_options/0. Existing processes and pane IDs survive; dimensions, indexes and inherited window options can change. Removing a window's last pane destroys that physical window and its links, and can remove sessions.

Source and package
Qualified name
tmux_pane:join/3
Declared in
tmux_pane
Package
libtmux_erlang
Source
apps/libtmux_erlang/src/tmux_pane.erl
Other languages
Perl PowerShell Julia Elixir Haskell Common Lisp PythonRuby Lua TypeScript Rust GoJavaC#C++Swift Kotlin Scala OCaml F# Clojure
join(Source, Destination, Options) -spec join(tmux_model:pane(), tmux_model:pane(), join_options()) -> {ok, tmux_operation:completed()} | {error, map()}.

Description#

Default detach true avoids selecting the resolved destination session; false uses tmux's resolved session context for the destination pane. Shared physical windows affect all their memberships. Returns the command result without refreshing either row. Use get/2 for current fields. No retry is performed.

tmux command#

The tmux commands behind join/3.

tmux C API#

The C declarations in tmux that implement these commands.

Guides#

Pages that discuss join/3.

In other ports#

Move a pane into another window

Equivalents of Move a pane into another window in other languages
Language Equivalent
Python libtmux.Pane.join
Ruby LibTmux::Pane#join
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript pane.Pane.joinTo
Rust no equivalent on Pane
Go tmux.Pane.Join
Java io.github.libtmux.Pane.joinTo
C# LibTmux.Pane.JoinAsync
C++ libtmux::Pane::join
Swift Server.join(_:into:direction:size:)
OCaml Libtmux_unix.Client.move_pane
Perl No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.

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

Esc

Type to search.

Reference previewOpen reference