Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

pane.Pane.joinTo

TypeScript

View as Markdown

Module
pane
Declared in
Pane
Package
libtmux
Source
packages/libtmux/src/pane.ts
Other languages
PythonRuby Lua Rust GoJava.NETC++Swift
joinTo ( target : : Pane | Window | string , options : : JoinOptions ) → Promise<void>
method [source]
method [source]
joinTo

Move this pane into another window as a split.

In other ports Move a pane into another window

Examples

import { PaneDirection } from "libtmux";
await pane.joinTo(window.id, { direction: PaneDirection.Below });
>>> pane_to_join = window.split(shell='sleep 1m')
>>> new_window = pane_to_join.break_pane()
>>> pane_to_join.join(window)

0 declared, 0 inherited

Esc

Type to search.